diff options
author | Jonas Finnemann Jensen <jopsen@gmail.com> | 2010-10-16 20:57:58 +0200 |
---|---|---|
committer | Jonas Finnemann Jensen <jopsen@gmail.com> | 2010-11-06 18:55:08 +0100 |
commit | c27759cbf40a99632112cf2e2d21d64f2d3ae749 (patch) | |
tree | fa5bbe8f036695cf0d353477b581cd333c43ff45 /starmath/inc/caret.hxx | |
parent | 096f382648153375187bfd2436836d185e324922 (diff) |
Fixed bug when deleting multiple lines
With this fix only one line can be selected in the visual formula
editor, it's not perfect as caret can still be moved to another line
while selecting, which causes the topmost line to be selected. Anyway,
it works and addresses the bug. Better workaround might be possible
later.
Diffstat (limited to 'starmath/inc/caret.hxx')
-rw-r--r-- | starmath/inc/caret.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/starmath/inc/caret.hxx b/starmath/inc/caret.hxx index df8abaf14888..bc22f0336b29 100644 --- a/starmath/inc/caret.hxx +++ b/starmath/inc/caret.hxx @@ -177,7 +177,13 @@ public: nOffset = 0; } ~SmCaretPosGraph(); + /** Add a caret position + * @remarks If Left and/or Right are set NULL, they will point back to the entry. + */ SmCaretPosGraphEntry* Add(SmCaretPosGraphEntry entry); + /** Add a caret position + * @remarks If left and/or right are set NULL, they will point back to the entry. + */ SmCaretPosGraphEntry* Add(SmCaretPos pos, SmCaretPosGraphEntry* left = NULL, SmCaretPosGraphEntry* right = NULL){ |