Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#13 closed enhancement (fixed)

Add one more text editing shortcut to the muiprefs/keyboard/text editing

Reported by: Roman Kargin Owned by: Thore Böckelmann
Priority: normal Milestone: 4.0-2014R3
Component: String.mui Version: 4.0-2014R2
Severity: minor Keywords:
Cc: OS Platform: All
Blocked By: Blocking:
Release Notes:

Implemented keyboard based marking of the contents.

Description

Summary

While our default mui4's string class is more or less fine for everything, still in BetterString class there was some nice addon which make life easy when it come to marking of text and which will be nice to have in default String class as well : that is marking of text to the left or to the right depending of cursor position. As well as seems there is no marking settings at all.

For example, for ctrl+home and ctrl+end, BetterString provide auto-marking from cursor fucntionality: I.e. depends on where we have cursor stay in the text in the string object, and we press "Ctrl+home" , it then mark all text from cursor position till begining. And if press "Ctrl+End", it do the same from cursor, but till end.

Options can be called as "Mark All to Rigth" and "Mark All to the Left".

Also, can be good to add options like "Make left" and "Mark Rigth", which assign to something like "Amiga + left" and "Amiga + right" as default.

Change History (9)

comment:1 Changed 6 years ago by Roman Kargin

To summorize and make it more clean:

We just can add 4 new entryes in keyboard:

2 for "text editing":

Mark All to Left (and default Ctlr+End)
Mark All to Right (and default Ctrl+Right)

And 2 for cursor:

Mark Left (default amiga+left , as ctrl+left already taken by default for word jumping)
Mark Rigth (also default amiga+right, because of same as previous).

All can be reconfigured of course as anyone wish, just to have some defaults. So by this we will cover all that good marking functionality of betterstring (as far as i see, latest mui4 string class even didn't have any marking from keyboard funcitonality before).

comment:2 Changed 6 years ago by Samir Hawamdeh

@kas1e

Thanks to have open it ;-)

Maybe Thore is also in interest to read the whole discussion about, so here the direct link:

http://www.amigans.net/modules/xforum/viewtopic.php?start=240&topic_id=6329&viewmode=&order=ASC&type=&mode=0

comment:3 Changed 6 years ago by Thore Böckelmann

Reporter: changed from anonymous to Roman Kargin

comment:4 Changed 6 years ago by Thore Böckelmann

I don't think we need 4 new shortcuts, but just a single qualifier to start marking a section of the string. Everything else is already covered by the available shortcuts.

comment:5 Changed 6 years ago by Roman Kargin

@Thore
By adding it to the muiprefs/keyboard section too ? (so it can be configurable) ? I just thinking about 4, because of making it all looks the same by logic as we currently have. But if that qualifier can added to muiprefs/keyboard and can be configured in the same way as other shortcuts, then why not. At least if all functionality already present.

comment:6 Changed 6 years ago by Thore Böckelmann

Milestone: MUI 4.0-2014R3
OS Platform: AmigaOS4All
Owner: set to Thore Böckelmann
Priority: undecidednormal
Status: newassigned

comment:7 Changed 6 years ago by Thore Böckelmann

Resolution: fixed
Status: assignedclosed

In 3244:

  • String.c: implemented keyboard based marking of the contents. For this to work certain qualifiers must be ignored by adding i.e. "-alt" to the key spec string to use any ALT key for marking. The default key specs have been adapted accordingly. This closes #13.

comment:8 Changed 6 years ago by Thore Böckelmann

Release Notes: modified (diff)

comment:9 Changed 5 years ago by Thore Böckelmann

Milestone: MUI 4.0-2014R34.0-2014R3

Milestone renamed

Note: See TracTickets for help on using tickets.