Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » CodeEditor: K_F3 does not set the cursor to the search field
CodeEditor: K_F3 does not set the cursor to the search field [message #43631] |
Tue, 16 September 2014 13:43 |
omari
Messages: 273 Registered: March 2010
|
Experienced Member |
|
|
Hi,
the search field can not get the focus with keyboard shortcuts.
Solution:
file FindReplace.cpp, Line 520
void CodeEditor::OpenNormalFindReplace0(bool replace)
{
if(GetLength() > 1000000)
findreplace.incremental <<= false;
findreplace.Setup(replace);
findreplace.find.SetFocus(); // <----- move this line
findreplace.itext = GetI();
findreplace.prev.Show();
findreplace.next <<= THISBACK(DoFind);
findreplace.close <<= THISBACK(EscapeFindReplace);
if(!findreplace.IsOpen())
InsertFrame(FindFrame(sb), findreplace);
WhenOpenFindReplace();
}
moving the line findreplace.find.SetFocus(); to the end of function resolve the probleme.
regards
omari.
|
|
|
Goto Forum:
Current Time: Fri Nov 01 02:03:24 CET 2024
Total time taken to generate the page: 0.02920 seconds
|