pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.19k stars 353 forks source link

Enhance text selection drag and drop #11744

Open akevalion opened 1 year ago

akevalion commented 1 year ago

Description Reviewing text editor in rubric related to this issue https://github.com/pharo-project/pharo/issues/11727 I found a new issue when you want to move a selected text into another place of the same editor.

Steps to reproduce the bug

Expected behavior Based on text editors like html text area editor, TextEdit, vscode. when you try to drag and drop a selected text

jordanmontt commented 1 year ago

@akevalion is this the same thing as #11727 ? If yes, we should close it

akevalion commented 1 year ago

No, this is different issue, but it is related

akevalion commented 10 months ago

Hi we tried in this sprint to do that. It needs more work.

The idea is to put a visual cursor that shows to the user that he is moving the text in another position of the text editor.

dragStart: event

you can find our advance here: https://github.com/akevalion/pharo/tree/11744-Enhance-text-selection-drag-and-drop , but it is not the final version

GitHub
GitHub - akevalion/pharo at 11744-Enhance-text-selection-drag-and-drop
Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk. - GitHub - akevalion/pharo at 11744-Enhance-text-selection-drag-and-drop
liangbing64 commented 10 months ago

Hi, about text drag & drop , You may look at this: https://github.com/liangbing64/Text-Drag-and-Drop

GitHub
GitHub - liangbing64/Text-Drag-and-Drop
Contribute to liangbing64/Text-Drag-and-Drop development by creating an account on GitHub.