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++ » Code assist default selection
Code assist default selection [message #26834] Tue, 01 June 2010 18:55
ktj9 is currently offline  ktj9
Messages: 17
Registered: April 2010
Promising Member
It has been a little bit annoying that the code assist popup does not select anything even there is only one item in it, and I have to use up/down key to select the only one available. I added following in my copy at the end of AssistEditor::Key body before return. Now after a key event, the first item is selected by default. The probability of hitting the desired item is increased and then just hit Return key.

	if (popup.IsOpen()) {
		ArrayCtrl& kt = key & K_CTRL ? type : assist;
		kt.SetCursor(0);
	}

[Updated on: Tue, 01 June 2010 18:55]

Report message to a moderator

Previous Topic: A little proposal on code analysis
Next Topic: QTF editor feature request + patch
Goto Forum:
  


Current Time: Fri Apr 19 09:56:30 CEST 2024

Total time taken to generate the page: 0.03025 seconds