mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-31 07:12:39 -06:00
ide: Refining find&replace
git-svn-id: svn://ultimatepp.org/upp/trunk@7484 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
610034ad10
commit
755d38cba8
5 changed files with 26 additions and 16 deletions
|
|
@ -215,7 +215,8 @@ void CodeEditor::SelectionChanged()
|
|||
{
|
||||
int l, h;
|
||||
WString nselword;
|
||||
if(GetSelection(l, h) && h - l < 128 &&
|
||||
bool sel = GetSelection(l, h);
|
||||
if(sel && h - l < 128 &&
|
||||
(l == 0 || !iscid(GetChar(l - 1))) &&
|
||||
(h >= GetLength() || !iscid(GetChar(h)))) {
|
||||
for(int i = l; i < h; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue