I've noticed that when using the folding option (click the minus next to a curly bracket) if the section is the last on the page it folds to
{
}
If it is not the last section on the page it folds to a single open curly bracket:
e.g.
global main()
{
openconsole();
print("Hello");
closeconsole();
}
will fold to:#
global main()
{
}
However, if you add:
SUB someFunc()
{
..some code..
}
Folding the main will result in a single open curly bracket, somefunc will leave the two.
If the someFunc function is deleted main() stiil folds to a single bracket.
phew... along way to get to the question.. is this related to scintilla or the ide?
Its not a major problem by any means just a todo to stick on the end of the list after the proper stuff
is done!
regards
John
It's related to scintilla as the IDE doesn't control folding. When I get the chance I'll update to the latest scintilla code base to see if that solves it.
Thanks. I thought that might be the case. I tried replacing the scintilla dll with the latest (1.6.8) and its still the same.
As I said it's not important, it's just one of thos things you spot and wonder.
regards
John