Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
omari is currently offline  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.
 
Read Message
Read Message
Previous Topic: [BUG / C++11 support] Braced initializer list and Assist++
Next Topic: How to duplicate line.
Goto Forum:
  


Current Time: Fri Nov 01 02:03:24 CET 2024

Total time taken to generate the page: 0.02920 seconds