mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-09 03:24:59 -06:00
ide: gdb issues
git-svn-id: svn://ultimatepp.org/upp/trunk@9089 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
d5f7082d16
commit
6bcade83e3
6 changed files with 19 additions and 14 deletions
|
|
@ -675,14 +675,13 @@ WString CodeEditor::GetI()
|
|||
{
|
||||
int l, h;
|
||||
WString ft;
|
||||
if(GetSelection(l, h) || GetWordPos(GetCursor(), l, h)) {
|
||||
if((GetSelection(l, h) || GetWordPos(GetCursor(), l, h)) && h - l < 60)
|
||||
while(l < h) {
|
||||
int c = GetChar(l++);
|
||||
if(c == '\n')
|
||||
break;
|
||||
ft.Cat(c);
|
||||
}
|
||||
}
|
||||
return ft;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue