View Issue Details

IDProjectCategoryView StatusLast Update
0018960LazarusIDEpublic2011-03-22 08:36
ReporterTomasz WieckowskiAssigned ToMartin Friebe 
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
PlatformWin32OSWindowsOS VersionXP
Product Version0.9.31 (SVN)Product Build29940 
Target VersionFixed in Version0.9.31 (SVN) 
Summary0018960: Source Editor - wrong caret pos after delete (caret in middle of tab)
DescriptionSometimes when working in source editor cursor jumps too far in the word when I use delete key befor that word.
Steps To Reproduce1. Open attached project.
2. Go to begin of line 34. Press 3 times right arrow (4 column).
3. Press delete key.

TagsNo tags attached.
Fixed in Revision29975
LazTarget0.99.0
WidgetsetWin32/Win64
Attached Files

Activities

2011-03-21 11:54

 

laz_bug.zip (2,913 bytes)

Martin Friebe

2011-03-21 21:17

manager   ~0046738

Indeed.

The text has a tab. And the caret in your case will be in the middle of the tab.

Note: there is an option, to make the caret skip over the tab, instead of going being placed halfway into it.

Anyway, if you are "inside" a tab, and press delete, the tab is deleted.
But the caret pos is incorrectly kept.

Martin Friebe

2011-03-21 22:14

manager   ~0046739

please test and close if ok

Issue History

Date Modified Username Field Change
2011-03-21 11:54 Tomasz Wieckowski New Issue
2011-03-21 11:54 Tomasz Wieckowski File Added: laz_bug.zip
2011-03-21 11:54 Tomasz Wieckowski Widgetset => Win32/Win64
2011-03-21 21:13 Martin Friebe Status new => assigned
2011-03-21 21:13 Martin Friebe Assigned To => Martin Friebe
2011-03-21 21:17 Martin Friebe Note Added: 0046738
2011-03-21 21:51 Martin Friebe LazTarget => -
2011-03-21 21:51 Martin Friebe Summary Source Editor - delete hidden chars => Source Editor - wrong caret pos after delete (caret in middle of tab)
2011-03-21 22:14 Martin Friebe Fixed in Revision => 29975
2011-03-21 22:14 Martin Friebe LazTarget - => 0.99.0
2011-03-21 22:14 Martin Friebe Status assigned => resolved
2011-03-21 22:14 Martin Friebe Fixed in Version => 0.9.31 (SVN)
2011-03-21 22:14 Martin Friebe Resolution open => fixed
2011-03-21 22:14 Martin Friebe Note Added: 0046739
2011-03-21 22:14 Martin Friebe Target Version => 0.99.0
2011-03-22 08:36 Tomasz Wieckowski Status resolved => closed