Ticket #9138: caret_pos.patch
File caret_pos.patch, 407 bytes (added by , 15 years ago) |
---|
-
gui/editable.cpp
65 65 // TODO: We probably should filter the input string here, 66 66 // e.g. using tryInsertChar. 67 67 _editString = str; 68 _caretPos = _editString.size();68 _caretPos = 0; 69 69 } 70 70 71 71 bool EditableWidget::tryInsertChar(byte c, int pos) {