Fix find scope expanding
We now use two cursors, with the first one being positioned at the character before the find scope starts. This makes it possible to extend the scope when typing at the beginning or the end of it. This is more what the user expects. The effect is noticable with find&replace of words at the beginning or end of the scope.
Showing
- src/plugins/find/basetextfind.cpp 23 additions, 23 deletionssrc/plugins/find/basetextfind.cpp
- src/plugins/find/basetextfind.h 3 additions, 4 deletionssrc/plugins/find/basetextfind.h
- src/plugins/texteditor/basetexteditor.cpp 25 additions, 19 deletionssrc/plugins/texteditor/basetexteditor.cpp
- src/plugins/texteditor/basetexteditor.h 1 addition, 1 deletionsrc/plugins/texteditor/basetexteditor.h
- src/plugins/texteditor/basetexteditor_p.h 2 additions, 1 deletionsrc/plugins/texteditor/basetexteditor_p.h
Loading
Please register or sign in to comment