[cantfix] "Jumping" bookmark
Posted: 04.03.2013 07:52
Under certain circumstances, bookmarks "jump". Steps to reproduce:
1. Set Options --> History --> Length of file state history to 50. Uncheck "Save caret position" and "Save encoding".
2. Create a new file and type in following content: line 1: "aaa รค", line 2: "aaa". (Note: line 1 must contain a non-ASCII character.)
3. Encoding --> Convert encoding to --> Unicode --> UTF-8, no BOM
4. Place the caret into the leftmost column of line 2.
5. Bookmarks --> Toggle bookmark.
6. Save the file.
7. Exit SynWrite.
8. Start SynWrite. As a result, the file will be loaded.
Expected result: The bookmark will be in line 2.
Actual result: The bookmark is in line 1.
Additional problem:
9. Place the caret into the leftmost column of line 2.
10. Type a character.
As a result, the bookmark will jump from line 1 to line 2.
1. Set Options --> History --> Length of file state history to 50. Uncheck "Save caret position" and "Save encoding".
2. Create a new file and type in following content: line 1: "aaa รค", line 2: "aaa". (Note: line 1 must contain a non-ASCII character.)
3. Encoding --> Convert encoding to --> Unicode --> UTF-8, no BOM
4. Place the caret into the leftmost column of line 2.
5. Bookmarks --> Toggle bookmark.
6. Save the file.
7. Exit SynWrite.
8. Start SynWrite. As a result, the file will be loaded.
Expected result: The bookmark will be in line 2.
Actual result: The bookmark is in line 1.
Additional problem:
9. Place the caret into the leftmost column of line 2.
10. Type a character.
As a result, the bookmark will jump from line 1 to line 2.