View Issue Details

IDProjectCategoryView StatusLast Update
0037431LazarusIDEpublic2020-08-16 18:10
ReporterBirger Sørensen Assigned ToMartin Friebe  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.0.10 
Fixed in Version2.2 
Summary0037431: Marking text in gutter, does not make the text Dragable by mouse
DescriptionMarking/HiLite one or more lines by clicking with the mouse in the gutter (Line-numbers), the line(s) can be copied to the clipboard or deleted - but the text can not be dragged using the mouse.
Steps To ReproduceHiLite a line by clicking in the gutter - then try to drag the marked text
TagsNo tags attached.
Fixed in Revision63758
LazTarget2.2
WidgetsetWin32/Win64
Attached Files

Activities

Martin Friebe

2020-08-16 17:56

manager   ~0124928

r 63758
Please test and close if ok.


Note: SynEdit has 3 selection modes:
- normal
- lines (whole lines)
- column (hold alt key)

All of them can now be dragged.

When selecting via the gutter, you may get either line or normal.

Clicking a line number: line mode (this did not work)
Click and drag next to the line numbers (where breakpoints and bookmarks go): normal mode.

Despite being a line mode selection, insertion is done at the mouse location (in the middle of the target line).
To drag lines as a whole and insert them between existing lines, keep the mouse over the gutter when dropping (to start dragging you must go over the text)



Martin Friebe

2020-08-16 18:08

manager   ~0124929

Last edited: 2020-08-16 18:10

View 3 revisions

Changes needed (incl related issues) to patch older versions https://github.com/User4martin/lazarus/compare/6194ac978676ed3f7bbb2d8125ff5f6ad7f35adb..1a967943ff43427d59f4746a47b331709424a174
https://github.com/User4martin/lazarus/compare/6194ac978676ed3f7bbb2d8125ff5f6ad7f35adb..1a967943ff43427d59f4746a47b331709424a174.diff

Issue History

Date Modified Username Field Change
2020-07-28 18:42 Birger Sørensen New Issue
2020-07-28 18:54 Martin Friebe Assigned To => Martin Friebe
2020-07-28 18:54 Martin Friebe Status new => assigned
2020-08-16 17:56 Martin Friebe Status assigned => resolved
2020-08-16 17:56 Martin Friebe Resolution open => fixed
2020-08-16 17:56 Martin Friebe Fixed in Version => 2.2
2020-08-16 17:56 Martin Friebe Fixed in Revision => 63758
2020-08-16 17:56 Martin Friebe LazTarget => 2.2
2020-08-16 17:56 Martin Friebe Widgetset Win32/Win64 => Win32/Win64
2020-08-16 17:56 Martin Friebe Note Added: 0124928
2020-08-16 18:08 Martin Friebe Note Added: 0124929
2020-08-16 18:10 Martin Friebe Note Edited: 0124929 View Revisions
2020-08-16 18:10 Martin Friebe Note Edited: 0124929 View Revisions