Genio-The-Haiku-IDE / Genio

The Haiku IDE
Other
69 stars 9 forks source link

"Insert as RDEF array": insert at cursor position #400

Open humdingerb opened 4 months ago

humdingerb commented 4 months ago

Currently the new array gets added to the end of the file. If the user wants to have their resources in some order, this means copy&pasting stuff around. It'd be easier and intuitive to insert the data at the cursor position.

jackburton79 commented 3 months ago

While I somewhat agree with you, initially it worked like this, but it could be a problem if the cursor is placed inside another resource. We'll leave the function as is in the 3.0 release. Let's gather some other feedback before changing it.

humdingerb commented 3 months ago

Right, that might be an issue...

Maybe the file could be scrolled to the end, where the new resource was appended, and the new block being selected? Then one could at least cut&paste it directly where it should go.