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 next message
omari is currently offline  omari
Messages: 264
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.
Re: CodeEditor: K_F3 does not set the cursor to the search field [message #43664 is a reply to message #43631] Thu, 18 September 2014 13:13 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
OK, thanks, applied.

Mirek
Previous Topic: [BUG / C++11 support] Braced initializer list and Assist++
Next Topic: How to duplicate line.
Goto Forum:
  


Current Time: Fri Mar 29 08:09:26 CET 2024

Total time taken to generate the page: 0.01809 seconds