Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Issue about wxScintilla

<< < (3/3)

ollydbg:

--- Quote from: MortenMacFly on September 30, 2010, 02:05:11 pm ---Which makes me wonder: Wat's the actual purpose of using the styles in scintilla to quey for comments? I mean: This can only be less performant...?!

--- End quote ---
The re-factoring model was designed by Loaden, so I think he can some idea. See:

--- Code: ---int test()
{
    // test
    printf("test");
}
--- End code ---

A simple plain text search will give 3 matches.
But in-fact, the one we interested was only the function name. So, both matched text result in comments and c-strings should be removed. Sometimes, the matched text in comments should also be involved.
Currently the only way is do a query to scintilla.

I'm thinking a better way by CC.

Loaden:

--- Quote from: ollydbg on September 30, 2010, 02:13:30 pm ---
--- Quote from: MortenMacFly on September 30, 2010, 02:05:11 pm ---Which makes me wonder: Wat's the actual purpose of using the styles in scintilla to quey for comments? I mean: This can only be less performant...?!

--- End quote ---
The re-factoring model was designed by Loaden, so I think he can some idea. See:

--- Code: ---int test()
{
    // test
    printf("test");
}
--- End code ---

A simple plain text search will give 3 matches.
But in-fact, the one we interested was only the function name. So, both matched text result in comments and c-strings should be removed. Sometimes, the matched text in comments should also be involved.
Currently the only way is do a query to scintilla.

I'm thinking a better way by CC.


--- End quote ---
Thank ollydbg explained.
I found a way to solved, will be less performant littler.

We can't solved this issue by CC.
It's only scintilla related.

EDIT:
Sorry! Found a bug, fixed now.

Loaden:
Sorry! Found a bug, fixed now. :(

Loaden:
More improved.
This is the final version. :)

Navigation

[0] Message Index

[*] Previous page

Go to full version