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++ » CH_STYLE parsing fix
CH_STYLE parsing fix [message #15193] Tue, 08 April 2008 15:06 Go to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
This has been really annoying me ever since Chameleon was introduced but I was waiting for Mirek to fix it Smile. TheIde parser can't handle macros like:
CH_STYLE(a, b, c)
{
...
}

and doesn't recover properly, breaking Goto and Query for everything in the file after that point.

It now works much, much better. I've attached the modified Parser.cpp from the CppBase package. Changes are marked JT (there are only 3).
  • Attachment: Parser.cpp
    (Size: 27.85KB, Downloaded 367 times)

[Updated on: Tue, 08 April 2008 15:08]

Report message to a moderator

Re: CH_STYLE parsing fix [message #15194 is a reply to message #15193] Tue, 08 April 2008 15:08 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
I've also fixed a bug that was causing all items in the goto window to be listed twice when the search field was empty. Goto.cpp is from the ide package.

James
  • Attachment: Goto.cpp
    (Size: 6.00KB, Downloaded 416 times)
Re: CH_STYLE parsing fix [message #15195 is a reply to message #15194] Tue, 08 April 2008 15:19 Go to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

thanks mrjt! You're right. that was very annoying.
Previous Topic: newbie to programming
Next Topic: Assist++ autocomplete window mouse wheel bug
Goto Forum:
  


Current Time: Fri Apr 19 05:30:55 CEST 2024

Total time taken to generate the page: 0.01919 seconds