fesch / Structorizer.Desktop

Structorizer is a little tool which you can use to create Nassi-Schneiderman Diagrams (NSD).
https://structorizer.fisch.lu
GNU General Public License v3.0
65 stars 20 forks source link

Idea: Automatic caret positioning to the first question mark in the default text for new elements. #1114

Closed codemanyak closed 11 months ago

codemanyak commented 1 year ago

With the standard Structure preferences, the interesting parts of the default texts are the question marks to be replaced by actual expressions: grafik

It is always somewhat cumbersome in the Element editor first having to move the cursor to the position of the question mark (or to clear the text field in order just to fill in the net content without decorating markers). So it will be a helpful idea having the Element editor move the caret automatically forward to the first question mark (if there is one) on opening for a new element (i.e. after having placed the configured default text), e.g.: grafik

Because of the specific editors for FOR loops and CASE elements, however, the effect will be limited to alternatives, WHILE and REPEAT loops, but it still makes sense.

codemanyak commented 1 year ago

This was pretty easy - and so helpful. Ready for next version (3.32-15).