Menu

#36 Can't set external text editor

v1.0_(example)
closed
nobody
None
1
2015-04-27
2015-04-11
4javier
No

Android KitKat
GC 0.53b2 or 0.52.6
I tried to set TurboEditor as external editor both through

sharedcode.turboeditor.activity.SelectFileActivity

both

com.maskyn.fileeditorpro.HomeActivity

Anyway, GC always open file with its internal editor.
I don't think it's a problem of turbo editor, because also if I let External Editor field empty, GC doesn't prompt the editor to use, but open file with its built-in editor again.

Related

Bugs: #36

Discussion

  • zc2

    zc2 - 2015-04-11

    Just tried, works fine.
    Set the following in the GC setting:
    com.maskyn.fileeditor.HomeActivity
    On Apr 11, 2015 9:32 AM, "4javier" javiereg4@users.sf.net wrote:


    Status: open
    Group: v1.0_(example)
    Created: Sat Apr 11, 2015 01:32 PM UTC by 4javier
    Last Updated: Sat Apr 11, 2015 01:32 PM UTC
    Owner: nobody

    Android KitKat
    GC 0.53b2 or 0.52.6
    I tried to set TurboEditor as external editor both through

    sharedcode.turboeditor.activity.SelectFileActivity

    both

    com.maskyn.fileeditorpro.HomeActivity

    Anyway, GC always open file with its internal editor.
    I don't think it's a problem of turbo editor, because also if I let
    External Editor field empty, GC doesn't prompt the editor to use, but open
    file with its built-in editor again.


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/ghostcommander/bugs/36/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #36

  • 4javier

    4javier - 2015-04-11

    Your version of the activity didn't work, but at least gave an output of "Activity not found" in GC.
    I looked into the application's manifest and found the last one I tried on my own

    com.maskyn.fileeditorpro.HomeActivity

    and the strange thing is that now it works. :-/

     
  • zc2

    zc2 - 2015-04-12

    Since it works, I'm closing the ticket.

     
  • zc2

    zc2 - 2015-04-12
    • status: open --> closed
     
  • 4javier

    4javier - 2015-04-21

    Sorry but I have to ask this bug to be re-opened. I reset my phone and now I'm stuck with the same problem. Which GM activity should I filter through logcat to debug the problem?

     

    Last edit: 4javier 2015-04-21
  • zc2

    zc2 - 2015-04-25

    Please note, an external text editor could be used only on the local file system. Even if your current folder shows items through MediaStore or SAF, the external text editor won't have access to the content.

    Here's a brief instruction to find and and use an appropriate activity:
    Open the applications list in Ghost Commander
    Find your text editor. Tap it.
    Tap the "Activities" folder
    Pick an activity which is not marked as "private", tap it.
    Make sure it accepts the android.intent.action.VIEW
    Go back, tap on ".."
    Tap and hold on the activity until the context menu pops up.
    Pick the "Copy name to clipboard"
    Go to Preferences(Settings)->Miscellaneous->Custom text editor
    Tap and hold on the edit field, until "Paste" button appears. Tap on it.
    Tap OK

     
  • 4javier

    4javier - 2015-04-26

    Thanks for the reply.
    I know how to set an activity in GC preference, I did exactly what I did last time. But gc ignore my setting. If I delete the activity for external editor (I leave a blank line, nor TurboEditor nor BuiltinEditor) GC doesn't prompt which editor to use, it just launch the built-in one

     
  • zc2

    zc2 - 2015-04-26

    "GC doesn't prompt which editor to use, it just launch the built-in one"
    That's by design. There is no a feature to prompt which editor to use. The built in one is in use either when an external activity can not be accessed or the file system you trying to load a file from is not local.
    Is it local file system in your case?

     
  • 4javier

    4javier - 2015-04-27

    Tried both with a file under /system/etc (system remounted as root, of course), both with a file under external sdcard.

     
  • zc2

    zc2 - 2015-04-27

    Since you are trying to edit a system file, you are probably accessing it via the root: mode. Can you see the root: prefix in the panel's title? If that's so, SuperSU gave root access permission to the file manager, but it did not give that to the external text editor. So in root mode only internal editor can be used. Same thing for other not native modes.
    So please make sure and confirm, that the mode we are speaking of is the native, i.e. in the file panel's title you see only the path, without any prefixes.

     
  • 4javier

    4javier - 2015-04-27

    You're right.
    Opening the file in sd-storage in local mode instead of root launch turboeditor. Can't you make gc launch an external editor asking for root permission?

     

Log in to post a comment.