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", "Set the command of a custom text editor to be launched.
\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 @@ + 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 pdfsync, which stores these extra information in an external file named after the &PDF; file itself (for example mydocument.pdfsync for mydocument.pdf). - &okular; ships with preconfigured settings for the following editors: &kate;, Kile, SciTE, &Emacs; client, LyX client, and TeXstudio. + &okular; ships with preconfigured settings for the following editors: &kate;, Kile, SciTE, &Emacs; client, LyX client, TeXstudio, and TeXiFy IDEA.