Menu

#462 Autoindent not working correctly in Freemat 4.0 Editor

v4.0 (major)
open
nobody
5
2009-11-08
2009-11-08
No

I'm using Freemat 4.0 under Ubuntu Karmic (ver 9.10). I've been working on several, different scripts and functions using the Freemat Editor. I've discovered that when I'm changing something inside of parentheses (not adding it for the first time), the editor will begin tabbing the entire line. With each keystroke, it adds a tab so that the entire line is moving to the right as I type.

This happens when I'm typing inside of the parentheses and the cursor is next to the right-most parenthese and that parenthese is underlined. In 4.0, when the cursor is next to one of a complete set of parentheses, it puts an underline under both of them. This appears to only happen with letters, not with numbers.

Here is one example where I try to add some letters and it adds a tab (which is set to 4 spaces) for each letter:

while(error_diff>1e-5);

while(error_diff>1e-5k);

while(error_diff>1e-5kk);

Here's another example, but adding numbers, which doesn't have the same effect:

while(error_diff>1e-5);

while(error_diff>1e-50);

while(error_diff>1e-500);

Discussion


Log in to post a comment.