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 » Community » U++ community news and announcements » ide: Indentifier highlighting
ide: Indentifier highlighting [message #43217] Mon, 09 June 2014 11:46 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
When doubleclicking identifier or searching for identifier, ide now highlights all matching identifiers in the file.
Re: ide: Indentifier highlighting [message #43218 is a reply to message #43217] Mon, 09 June 2014 20:21 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

Identifier highlighting is really cool feature, but in current implementation it has some drawbacks. First of all it should also work with selection callback (WhenSel). Example (ide/idewin.cpp - line 309):
editor.WhenSel = THISBACK(SetToolBar); // <- This callback should also operate "Identifier highlighting".


The second issue is that it doesn't work correctly in some cases. Example:
index.php?t=getfile&id=4559&private=0
In this example "turn" substring inside "return" shouldn't be highlighted.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Mon, 09 June 2014 20:24]

Report message to a moderator

Re: ide: Indentifier highlighting [message #43220 is a reply to message #43218] Tue, 10 June 2014 07:44 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
First issue: I was considering that option too, for the moment decided against it. One reason is that it would require full screen repaints while selecting.

Second issue: Yes, I guess you are right. Will fix.
Re: ide: Indentifier highlighting [message #43221 is a reply to message #43220] Tue, 10 June 2014 07:47 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
OK, I have tested with CodeBlocks which seems reasonable logic, will fix both issues accordingly...
Re: ide: Indentifier highlighting [message #43222 is a reply to message #43221] Tue, 10 June 2014 08:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Both issues fixed.

Mirek
Re: ide: Indentifier highlighting [message #43225 is a reply to message #43222] Tue, 10 June 2014 17:12 Go to previous message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Mirek,

Thank You! It works perfect!

Sincerely,
Klugier


U++ - one framework to rule them all.
Previous Topic: ide: xml, html highlighting
Next Topic: CtrlLib: line Switch now vertically centered
Goto Forum:
  


Current Time: Thu Mar 28 22:55:42 CET 2024

Total time taken to generate the page: 0.01373 seconds