mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
revert hazardous part of r26957 and add a comment, take 2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27170 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
070d75f1c6
commit
2f3fcfcb66
@ -1540,12 +1540,12 @@ void Text::charsTranspose(Cursor & cur)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// Store the characters to be transposed (including font information).
|
// Store the characters to be transposed (including font information).
|
||||||
char_type char1 = par.getChar(pos1);
|
char_type const char1 = par.getChar(pos1);
|
||||||
Font const & font1 =
|
Font const font1 =
|
||||||
par.getFontSettings(cur.buffer().params(), pos1);
|
par.getFontSettings(cur.buffer().params(), pos1);
|
||||||
|
|
||||||
char_type char2 = par.getChar(pos2);
|
char_type const char2 = par.getChar(pos2);
|
||||||
Font const & font2 =
|
Font const font2 =
|
||||||
par.getFontSettings(cur.buffer().params(), pos2);
|
par.getFontSettings(cur.buffer().params(), pos2);
|
||||||
|
|
||||||
// And finally, we are ready to perform the transposition.
|
// And finally, we are ready to perform the transposition.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user