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

Support for Android version of Total Commander

Moderators: sheep, Hacker, Stefan2, white

Post Reply
FVG
Junior Member
Junior Member
Posts: 45
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 » 2018-03-30, 17:31 UTC

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: 38
Joined: 2005-04-25, 21:44 UTC

Post by *mrle » 2018-03-30, 20:32 UTC

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: 1350
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Post by *DrShark » 2018-03-31, 08:54 UTC

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.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

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

Post by *FVG » 2018-03-31, 14:50 UTC

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: 38145
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2018-04-03, 13:25 UTC

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
http://www.ghisler.com

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

Post by *FVG » 2018-04-04, 09:05 UTC

Thanks.

Post Reply