mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
fix drawing of double quotes; fix input of cyrillic and greek characters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4388 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
42ff454d91
commit
6f13ab1994
@ -1,3 +1,7 @@
|
||||
2002-06-12 "Andrew Zabolotny" <zap@cobra.ru>
|
||||
|
||||
* kbmap.C (getiso): add support for cyrillic and greek
|
||||
|
||||
2002-05-31 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* lyxvc.C: fix bug 416 (make sure buffer is saved before
|
||||
|
@ -1,3 +1,7 @@
|
||||
2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
|
||||
|
||||
* insetquotes.C (draw): fix drawing of double quotes
|
||||
|
||||
2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* insetinclude.C (uniqueID):
|
||||
|
@ -232,7 +232,12 @@ void InsetQuotes::draw(BufferView * bv, LyXFont const & font,
|
||||
{
|
||||
string const text = dispString(font.language());
|
||||
|
||||
bv->painter().text(int(x), baseline, text, font);
|
||||
if (text.length() == 2 && text[0] == text[1]) {
|
||||
bv->painter().text(int(x), baseline, text[0], font);
|
||||
int x2 = int(x + lyxfont::width(',', font));
|
||||
bv->painter().text(x2, baseline, text[0], font);
|
||||
} else
|
||||
bv->painter().text(int(x), baseline, text, font);
|
||||
x += width(bv, font);
|
||||
}
|
||||
|
||||
|
@ -54,6 +54,10 @@ char kb_keymap::getiso(unsigned int c)
|
||||
case 0x00000200:
|
||||
// latin 4 byte 3 = 3
|
||||
case 0x00000300:
|
||||
// cyrillic KOI8 & Co
|
||||
case 0x00000600:
|
||||
// greek
|
||||
case 0x00000700:
|
||||
// latin 8 byte 3 = 18 (0x12)
|
||||
case 0x00001200:
|
||||
// latin 9 byte 3 = 19 (0x13)
|
||||
|
@ -26,6 +26,8 @@ What's new
|
||||
|
||||
- add new icon for buffer-new
|
||||
|
||||
- add support for entering cyrillic and greek alphabets
|
||||
|
||||
- update template for IEEEtran
|
||||
|
||||
** Bugfixes
|
||||
@ -49,6 +51,9 @@ What's new
|
||||
|
||||
- fix drawing of math delimiters in the math panel
|
||||
|
||||
- fix drawing of double quotes when they are not available in the
|
||||
screen font
|
||||
|
||||
- when a document is registered though version control, make sure it
|
||||
has been saved
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user