How to get the context menu on TextEditor in V2.90?

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
FVG
Junior Member
Junior Member
Posts: 69
Joined: 2006-12-14, 19:11 UTC
Location: Mol - Antwerpen - Belgie

How to get the context menu on TextEditor in V2.90?

Post by *FVG »

Hello,
In the release notes of V2.90 is this item mentionned:
---> Editor: Simple Undo in long tap context menu

I cannot find how I can get the context menu on the textedition window.
Can someone give me a help.
Thanks
FRank
mrle
Junior Member
Junior Member
Posts: 58
Joined: 2005-04-25, 21:44 UTC

Post by *mrle »

I got that option on "Xiaomi Mi TV Box" which has "Android TV" OS.

On another TV Box (Minix), smartphones etc, which have "normal" Android - there is no "Undo" in context menu of text editor.

BTW, the entire Total Commander (installed from the same APK file) looks different on "Android TV" and on "normal Android".


EDIT:

Hmmm... and there are also differences in versions of Android:

- Xiaomi TV Box (Android TV) = Marshmallow v6.0.1 = "Undo" in context menu.
- Smartphones (normal Android) = Lollipop v5.0 = No "Undo".
- Minix TV Box (normal Android) = KitKat v4.4.2 = No "Undo".

Perhaps this is the reason. I don't know.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

mrle wrote:there are also differences in versions of Android:
...
Perhaps this is the reason.
Yes, Undo in Editor works on Android 6+:
http://ghisler.ch/board/viewtopic.php?t=49316

2ghisler(Author)
This forum is not the only place where people are asking about not available Undo in Editor in TC4A 2.90, without knowledge Android version is a reason.

I suggest to change what's new text on the page http://www.ghisler.com/android.htm and help pages linked there to something like this:
  1. • Editor: Simple Undo in long tap context menu (Android 6 or newer)
and add it to offline help with next TC update too.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
FVG
Junior Member
Junior Member
Posts: 69
Joined: 2006-12-14, 19:11 UTC
Location: Mol - Antwerpen - Belgie

Post by *FVG »

Even in Android 6.0 I cannot find this function.
Can someone please explain how I can get it.
Thanks
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately Undo is very limited in the Android edit control: It is only available after
- typing
- pasting text
- deleting text
and it can only undo a single step.

You need to open the edit box context menu to see it. On some devices, you get this by long tapping on a word. On others, it appears when you double tap. Then there will appear an arrow which points to the left and forms an arc (a bit like a rainbow in shape) as the first menu item. If it is missing, then undo is not available at the moment, or not supported.
Author of Total Commander
https://www.ghisler.com
FVG
Junior Member
Junior Member
Posts: 69
Joined: 2006-12-14, 19:11 UTC
Location: Mol - Antwerpen - Belgie

Post by *FVG »

Thanks.
Post Reply