correct selection drawing, fixed cursor position around <line>

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@122 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-19 15:45:32 +00:00
parent d3c5335fc7
commit f09f610e7c
2 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -509,7 +509,7 @@ void TextValueEditor::moveSelection(IndexType t, size_t new_end, bool also_move_
// editor.refreshEditor();
// } else {
// draw new selection
v.drawSelection(rdc, style(), selection_start, selection_end);
v.drawSelection(rdc, style(), selection_start_i, selection_end_i);
// }
showCaret();
// TODO; DEBUG!!