diff options
Diffstat (limited to 'cocoa/ScintillaTest/AppController.mm')
| -rw-r--r-- | cocoa/ScintillaTest/AppController.mm | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/cocoa/ScintillaTest/AppController.mm b/cocoa/ScintillaTest/AppController.mm index fc8c331c4..c28974109 100644 --- a/cocoa/ScintillaTest/AppController.mm +++ b/cocoa/ScintillaTest/AppController.mm @@ -262,6 +262,11 @@ static const char * box_xpm[] = {                        wholeWord: NO                         scrollTo: YES                             wrap: YES]; + +  long matchStart = [mEditor getGeneralProperty: SCI_GETSELECTIONSTART parameter: 0]; +  long matchEnd = [mEditor getGeneralProperty: SCI_GETSELECTIONEND parameter: 0]; +  [mEditor setGeneralProperty: SCI_FINDINDICATORFLASH parameter: matchStart value:matchEnd]; +    if ([[searchField stringValue] isEqualToString: @"XX"])      [self showAutocompletion];  } | 
