[LyX/master] Improve comments
Juergen Spitzmueller
spitz at lyx.org
Wed Jan 15 07:24:01 UTC 2020
commit 8bd47bda8c27b0b0fc379a02dba81cdc67c79f70
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Wed Jan 15 08:40:51 2020 +0100
Improve comments
---
src/insets/InsetTabular.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index 2b23c89..1c4ed5d 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -4474,7 +4474,7 @@ void InsetTabular::draw(PainterInfo & pi, int x, int y) const
idx_type idx = 0;
- // Save change status
+ // Save tabular change status
Change tab_change = pi.change;
int yy = y + tabular.offsetVAlignment();
@@ -4491,8 +4491,9 @@ void InsetTabular::draw(PainterInfo & pi, int x, int y) const
continue;
}
- // Mark deleted rows/columns
pi.selected |= isCellSelected(cur, r, c);
+
+ // Mark deleted rows/columns
if (tabular.column_info[c].change.changed())
pi.change = tabular.column_info[c].change;
else if (tabular.row_info[r].change.changed())
More information about the lyx-cvs
mailing list