[BUG] Incorrect Folding Marking in C files
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
[BUG] Incorrect Folding Marking in C files
Hi,
1st Kindly look at the attachment.
1. The Folder starts at the correct place but while it should end at the matching brace it goes further & covers even the blank line & goes till next func or comment or declarations.
2. Folding Doesnt Apply for #if defines
3. Look at the last function Main. Folding ends at a line before the closing brace. And if i hit a newline at the end of the file then i get the brace properly.
TIA
Regards
Gururaja
1st Kindly look at the attachment.
1. The Folder starts at the correct place but while it should end at the matching brace it goes further & covers even the blank line & goes till next func or comment or declarations.
2. Folding Doesnt Apply for #if defines
3. Look at the last function Main. Folding ends at a line before the closing brace. And if i hit a newline at the end of the file then i get the brace properly.
TIA
Regards
Gururaja
You do not have the required permissions to view the files attached to this post.
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: [BUG] Incorrect Folding Marking in C files
This happens even for comments /* */
Regards
Gururaja
Regards
Gururaja
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [BUG] Incorrect Folding Marking in C files
Hi,
- Unfortunately I cant do anything to fix this since this is a bug in the editor component (Scintilla), thsis bug will happen in every Scintilla's based editor (e.g. SciTE, Notepad++, Komodo, codeblocks etc.)
- I see that you are using version 1.0 which is stable, however, I strongly recommend that you upgrade to next version - which is highly stable (at least like v1.0)
Eran
- Unfortunately I cant do anything to fix this since this is a bug in the editor component (Scintilla), thsis bug will happen in every Scintilla's based editor (e.g. SciTE, Notepad++, Komodo, codeblocks etc.)
- I see that you are using version 1.0 which is stable, however, I strongly recommend that you upgrade to next version - which is highly stable (at least like v1.0)
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: [BUG] Incorrect Folding Marking in C files
Hi
>>Unfortunately I cant do anything to fix this since this is a bug in the editor component (Scintilla), thsis bug will happen in every Scintilla's based editor (e.g. SciTE, Notepad++, Komodo, codeblocks etc.)
I also use n++ but i dont see/get this issue. No issues with #if defines,, doesnt include empty lines,
Whats the version of scintilla that is included.
TIA
Regards
Gururaja
>>Unfortunately I cant do anything to fix this since this is a bug in the editor component (Scintilla), thsis bug will happen in every Scintilla's based editor (e.g. SciTE, Notepad++, Komodo, codeblocks etc.)
I also use n++ but i dont see/get this issue. No issues with #if defines,, doesnt include empty lines,
Whats the version of scintilla that is included.
TIA
Regards
Gururaja
You do not have the required permissions to view the files attached to this post.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [BUG] Incorrect Folding Marking in C files
I was not talking about the #if/ #endif folding, this is disabled in CodeLite - to turn it on, it is only a matter of adding one line to the code.hbr_in wrote:I also use n++ but i dont see/get this issue. No issues with #if defines,, doesnt include empty lines,
I was referring to EOL does not collapse as it should - my guess is that we are using different versions of Scintilla
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: [BUG] Incorrect Folding Marking in C files
Hi,
The SciLexer.dll file inside n++ directory says
File Version : 1.7.5.0
Description : Scintilla.DLL - a Source Editing Component
How about Yours.
Regards
Gururaja
The SciLexer.dll file inside n++ directory says
File Version : 1.7.5.0
Description : Scintilla.DLL - a Source Editing Component
How about Yours.
Regards
Gururaja
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [BUG] Incorrect Folding Marking in C files
CodeLite does not uses SciLexer.dll - but it is rather static linked against the executable.
If I am not mistaken, the wrapper for Scintilla (which is called wxScintilla) is linked against version 1.7.1
Eran
If I am not mistaken, the wrapper for Scintilla (which is called wxScintilla) is linked against version 1.7.1
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: [BUG] Incorrect Folding Marking in C files
Hi,
Kindly can u provide code folding for #if defines & code within the #if defines.
Regards
Gururaja
Kindly can u provide code folding for #if defines & code within the #if defines.
Regards
Gururaja
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: [BUG] Incorrect Folding Marking in C files
Hi,
My one more cent to improve codelite.
I checked code-blocks and found that the wxWidgets for MSW dll/library it uses has FiLe version number : wxWidgets Library 2.8.8
The one that codlite uses is wxWidgets Library 2.8.7
This is for my clarification.
Is it possible to update Scintilla component of codelite to improve various new fatures/bug fixes it incorporates.
Feature requested here https://sourceforge.net/tracker/index.p ... tid=979963
TIA
Regards
Gururaja
My one more cent to improve codelite.
I checked code-blocks and found that the wxWidgets for MSW dll/library it uses has FiLe version number : wxWidgets Library 2.8.8
The one that codlite uses is wxWidgets Library 2.8.7
This is for my clarification.
Is it possible to update Scintilla component of codelite to improve various new fatures/bug fixes it incorporates.
Feature requested here https://sourceforge.net/tracker/index.p ... tid=979963
TIA
Regards
Gururaja
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: [BUG] Incorrect Folding Marking in C files
Hi,
Just Downloaded Codelite SVN Build Rev 2013. Felt really happy to see many new features being added. Thanks for all your efforts. Thanks for providing the Features i have request.
But the below bug Still exists. This is just for your info.
1. The Folder starts at the correct place but while it should end at the matching brace it goes further & covers even the blank line & goes till next func or comment or declarations.
Find attached the below file that i used for testing.
Oops While attaching the C file it says "The extension c is not allowed."
Its not allowing me to upload any files. tried renaming it to .txt, .jpg & even without attachment. but it failed.
What to do. can i paste the c code directly.
TIA
Regards
Gururaja
Just Downloaded Codelite SVN Build Rev 2013. Felt really happy to see many new features being added. Thanks for all your efforts. Thanks for providing the Features i have request.
But the below bug Still exists. This is just for your info.
1. The Folder starts at the correct place but while it should end at the matching brace it goes further & covers even the blank line & goes till next func or comment or declarations.
Find attached the below file that i used for testing.
Oops While attaching the C file it says "The extension c is not allowed."
Its not allowing me to upload any files. tried renaming it to .txt, .jpg & even without attachment. but it failed.
What to do. can i paste the c code directly.
TIA
Regards
Gururaja