Bug 370994 - can't restore default internal editor
Summary: can't restore default internal editor
Status: RESOLVED WORKSFORME
Alias: None
Product: krusader
Classification: Applications
Component: krviewer (show other bugs)
Version: 2.4.0-beta3 "Single Step"
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-17 09:36 UTC by Ing Swed
Modified: 2018-05-06 00:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ing Swed 2016-10-17 09:36:06 UTC
I want back the default internal editor after I've changed it. But don't know how. In the tip below the field Editor in configuration/ general/ viewer/editor is:
Tip: use 'internal editor' if you want fast editor from krusader (don't know exact english sentence, I've Czech translation)
but when I use 'internal editor' and try to open file for edit F4 -> can't open "internal editor".
If I let the field blank, same: can't open ""
I want the default editor same as if I open viewer F3 and than type ctrl+shift+e



Reproducible: Always
Comment 1 Marcin Gryszkalis 2016-10-17 22:24:04 UTC
I guess configuration screen should be fixed anyway, though in current git version there's following code:

krviewer.cpp:
313     if (editor != "internal editor" && !editor.isEmpty()) {

and both soultions (given string or leaving the field empty) worked for me.
Can you try latest git?
Comment 2 Ing Swed 2016-10-18 07:05:59 UTC
I'm sorry but I can't install git version on linux Mint. Do you have some guide?

$ git clone git://anongit.kde.org/krusader
$ cd krusader
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DQT_INCLUDES=/usr/share/qt4/include                                                                                                                                  
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:13 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 1.1.0) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
Comment 3 Toni Asensi Esteve 2016-10-18 08:29:47 UTC
> I'm sorry but I can't install git version on linux Mint. Do you have some guide? 

Un https://quickgit.kde.org/?p=krusader.git&a=tree there's a file named "INSTALL" that talks about it.
Comment 4 Ing Swed 2016-10-18 10:09:15 UTC
Thanks, I've successfully installed git version and internal editor works alright.

Looking forward to get this version to my package system.