[okular] /: Add TeXiFy IDEA support

Albert Astals Cid null at kde.org
Sat Nov 30 01:02:03 GMT 2019


Git commit c56a924ab434c8a5bfae9b4880ee996a92b63936 by Albert Astals Cid, on behalf of Abby Berkers.
Committed on 30/11/2019 at 01:02.
Pushed by aacid into branch 'master'.

Add TeXiFy IDEA support

M  +1    -0    conf/dlgeditor.cpp
M  +1    -0    conf/okular_core.kcfg
M  +2    -0    core/texteditors_p.h
M  +1    -1    doc/index.docbook

https://invent.kde.org/kde/okular/commit/c56a924ab434c8a5bfae9b4880ee996a92b63936

diff --git a/conf/dlgeditor.cpp b/conf/dlgeditor.cpp
index 3d1907ca5..2cff3d57f 100644
--- a/conf/dlgeditor.cpp
+++ b/conf/dlgeditor.cpp
@@ -32,6 +32,7 @@ DlgEditor::DlgEditor( QWidget * parent )
     m_dlg->kcfg_ExternalEditor->addItem( i18nc( "Text editor", "Emacs client" ), 4 );
     m_dlg->kcfg_ExternalEditor->addItem( i18nc( "Text editor", "Lyx client" ), 5 );
     m_dlg->kcfg_ExternalEditor->addItem( i18nc( "Text editor", "TeXstudio" ), 6 );
+    m_dlg->kcfg_ExternalEditor->addItem( i18nc( "Text editor", "TeXiFy IDEA" ),7 );
 
     m_dlg->kcfg_ExternalEditorCommand->setWhatsThis( i18nc( "@info:whatsthis",
         "<qt>Set the command of a custom text editor to be launched.<br />\n"
diff --git a/conf/okular_core.kcfg b/conf/okular_core.kcfg
index 6c679657d..267621f06 100644
--- a/conf/okular_core.kcfg
+++ b/conf/okular_core.kcfg
@@ -74,6 +74,7 @@
     <choice name="Emacsclient" />
     <choice name="Lyxclient" />
     <choice name="Texstudio" />
+    <choice name="Texifyidea" />
    </choices>
   </entry>
   <entry key="ExternalEditorCommand" type="String">
diff --git a/core/texteditors_p.h b/core/texteditors_p.h
index 02a2a2c94..a47ab894c 100644
--- a/core/texteditors_p.h
+++ b/core/texteditors_p.h
@@ -33,6 +33,8 @@ static inline QHash< int, QString > buildEditorsMap()
         QStringLiteral( "lyxclient -g %f %l" ) );
     editors.insert( SettingsCore::EnumExternalEditor::Texstudio,
         QStringLiteral( "texstudio --line %l" ) );
+    editors.insert( SettingsCore::EnumExternalEditor::Texifyidea,
+        QStringLiteral( "idea --line %l" ) );
     return editors;
 }
 
diff --git a/doc/index.docbook b/doc/index.docbook
index a3fcf7d93..1cf139609 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -2518,7 +2518,7 @@ Context menu actions like Rename Bookmarks etc.)
 						This is the case when the document has references to the various points (usually row and column number) of sources it was generated from. The &DVI; format supports natively the addition of the information about the sources the LaTeX document was generated from. A similar system exists for &PDF; documents, called <acronym>pdfsync</acronym>, which stores these extra information in an external file named after the &PDF; file itself (for example <filename>mydocument.pdfsync</filename> for <filename>mydocument.pdf</filename>).
 						</para>
 						<para>
-						  &okular; ships with preconfigured settings for the following editors: <ulink url="https://kate-editor.org/">&kate;</ulink>, <ulink url="https://kile.sourceforge.io/">Kile</ulink>, <ulink url="https://www.scintilla.org/SciTE.html">SciTE</ulink>, <ulink url="https://www.gnu.org/software/emacs/">&Emacs; client</ulink>, <ulink url="https://www.lyx.org/">LyX client</ulink>, and <ulink url="https://www.texstudio.org/">TeXstudio</ulink>.
+								&okular; ships with preconfigured settings for the following editors: <ulink url="https://kate-editor.org/">&kate;</ulink>, <ulink url="https://kile.sourceforge.io/">Kile</ulink>, <ulink url="https://www.scintilla.org/SciTE.html">SciTE</ulink>, <ulink url="https://www.gnu.org/software/emacs/">&Emacs; client</ulink>, <ulink url="https://www.lyx.org/">LyX client</ulink>, <ulink url="https://www.texstudio.org/">TeXstudio</ulink>, and <ulink url="https://github.com/hannah-sten/texify-idea">TeXiFy IDEA</ulink>.
 						</para>
 						<note>
 						  <para>


More information about the kde-doc-english mailing list