mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
No camelBump style for local variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33719 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c5f556e43a
commit
ff7526a3ed
@ -2255,7 +2255,7 @@ void TextMetrics::drawRowSelection(PainterInfo & pi, int x, Row const & row,
|
|||||||
|
|
||||||
// go through row and draw from RTL boundary to RTL boundary
|
// go through row and draw from RTL boundary to RTL boundary
|
||||||
while (cur < end) {
|
while (cur < end) {
|
||||||
bool drawNow = false;
|
bool draw_now = false;
|
||||||
|
|
||||||
// simplified cursorForward code below which does not
|
// simplified cursorForward code below which does not
|
||||||
// descend into insets and which does not go into the
|
// descend into insets and which does not go into the
|
||||||
@ -2270,7 +2270,7 @@ void TextMetrics::drawRowSelection(PainterInfo & pi, int x, Row const & row,
|
|||||||
// because: ab|cDDEEFFghi -> abc|DDEEFFghi
|
// because: ab|cDDEEFFghi -> abc|DDEEFFghi
|
||||||
++cur.pos();
|
++cur.pos();
|
||||||
cur.boundary(true);
|
cur.boundary(true);
|
||||||
drawNow = true;
|
draw_now = true;
|
||||||
} else {
|
} else {
|
||||||
// move right
|
// move right
|
||||||
++cur.pos();
|
++cur.pos();
|
||||||
@ -2285,7 +2285,7 @@ void TextMetrics::drawRowSelection(PainterInfo & pi, int x, Row const & row,
|
|||||||
x1 = cursorX(cur.top(), cur.boundary());
|
x1 = cursorX(cur.top(), cur.boundary());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(cur < end) || drawNow) {
|
if (!(cur < end) || draw_now) {
|
||||||
x2 = cursorX(cur.top(), cur.boundary());
|
x2 = cursorX(cur.top(), cur.boundary());
|
||||||
pi.pain.fillRectangle(x + min(x1,x2), y1, abs(x2 - x1), y2 - y1,
|
pi.pain.fillRectangle(x + min(x1,x2), y1, abs(x2 - x1), y2 - y1,
|
||||||
Color_selection);
|
Color_selection);
|
||||||
|
Loading…
Reference in New Issue
Block a user