1.5.1 unwanted spaces at end of line

Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

1.5.1 unwanted spaces at end of line

Postby Thomas Lohrum » Mon Nov 07, 2011 10:43 pm

I think this is a new behaviour in 1.5.1, which i never noticed before in 1.4.3. Spaces appear at the end of a line which won't be removed, even when saving the note.

Testcase
* insert "* line 1"
* press "Enter"
* insert " more notes" (two spaces in front)
* press "Enter"
* now two spaces are inserted automatically
* press "arrow up"
* press "end" to jump to the end of " more notes"
* press "del"
* press "end"

Now the cursor is beyond the 2 spaces. This might be ok for this simple testcase, but these spaces appear in most notes that i have created since using 1.5.1.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: 1.5.1 unwanted spaces at end of line

Postby CintaNotes Developer » Tue Nov 08, 2011 5:37 am

Well this is actually a side-effect from a feature which is most often called "auto indent" or "smart indent".
The point of it is that the next line automatically receives the indent level of the previous line.
But it seems that my implementation at the moment is not that smart after all ;)

I am still thinking what to do about it, but after the next update you will at least be able to turn this
feature off.
Alex
Thomas Lohrum
Posts: 1324
Joined: Tue Mar 08, 2011 11:15 am

Re: 1.5.1 unwanted spaces at end of line

Postby Thomas Lohrum » Tue Nov 08, 2011 8:24 pm

I understand "auto ident" ;) - The problem is, that auto-ident sometimes insert idents, though there already have been idents inserted. As for the unwanted spaces at the end of the line, they could be removed when the cursor moves to the next line or when the note is saved.

Return to “Bug Reports”