Page 1 of 1
issues with BCC editor
Posted: 30 Oct 2012, 20:02
by HaWe
scrolling through a code line containing "{ }" and ""( )" the editor muddles up the brackets and partially invents and inserts new ones at the end of line or in between!
Re: issues with BCC editor
Posted: 31 Oct 2012, 03:31
by afanofosc
I have not seen such behavior in BricxCC. Can you provide me with a sample program and a screenshot of your editor Preferences?
John Hansen
Re: issues with BCC editor
Posted: 31 Oct 2012, 12:47
by HaWe
aaahh...
still alive and not already retired...?^^
Joking aside -
Because I can't upload any images here, I reported everything there:
http://www.mindstormsforum.de/viewtopic ... 111#p60111
Re: issues with BCC editor
Posted: 31 Oct 2012, 15:30
by afanofosc
It seems that the "highlight matching delimiters" feature does not work correctly when a line contains real tab characters rather than spaces. I will work on fixing this. In the meantime, you should be able to turn off this feature and then you won't have the problem with fantom delimiters being drawn over the real content. These are drawing glitches and the actual source code is not affected, btw.
John Hansen
Re: issues with BCC editor
Posted: 31 Oct 2012, 16:13
by HaWe
thx, no problem, I don't need that feature anyway.
Re: issues with BCC editor
Posted: 01 Nov 2012, 02:56
by mattallen37
I actually had noticed this issue recently.
In addition to fixing it, could you add functionality to automatically convert the tab character into spaces (like when you press the tab key)? That way I could paste in someone else's code, which uses tabs, and have them become spaces automatically.
Re: issues with BCC editor
Posted: 01 Nov 2012, 13:16
by afanofosc
I have uploaded a new test release which fixes the delimiter highlighting bug and includes .h and .nxh file extensions as valid NXC code for the compiler. It also corrects a serious problem from the previous test release where all the pre-NXT communication code was not linked into the application, which broke support for the RCX, Scout, Spybot, and Cybermaster. This was due to a build error that occurred when I built the last test release.
http://bricxcc.sourceforge.net/test_releases/
Grab the 20121101 zip.
I have not included any support for tab conversion on opening/saving a file. Maybe someday...
John Hansen