View previous topic :: View next topic |
Author |
Message |
keivan n00b
Joined: 22 Nov 2010 Posts: 42
|
Posted: Wed Jan 11, 2012 6:59 pm Post subject: customize Syntax highlighting in kate {solved} |
|
|
last year I have modified the original C++ xml code used in KDE's kate text editor to highlight most common parts of the hoc code. hoc is the scripting language of NEURON simulation environment. Its syntax is similar to C and C++ but it has lots of built-in functions. a year ago when I was a ubuntu user I was able to use this customized syntax highlighting by copying the customized xml file named "neuron.xml" into the folder "~/.kde/share/apps/katepart/".
However, in Gentoo when I copy that neuron.xml file to the "~/.kde/share/apps/katepart/" directory it does not work. I tried to find a solution using google but unfortunately I could not find a solution. do you have any idea?
Last edited by keivan on Fri Jan 20, 2012 7:34 am; edited 1 time in total |
|
Back to top |
|
|
Wormo Retired Dev
Joined: 29 Nov 2004 Posts: 526 Location: SB County California
|
Posted: Mon Jan 16, 2012 7:58 am Post subject: Re: customize Syntax highlighting in kate |
|
|
keivan wrote: |
However, in Gentoo when I copy that neuron.xml file to the "~/.kde/share/apps/katepart/" directory it does not work. |
Shouldn't that be "~/.kde/share/apps/katepart/syntax/" directory? |
|
Back to top |
|
|
keivan n00b
Joined: 22 Nov 2010 Posts: 42
|
Posted: Tue Jan 17, 2012 6:58 am Post subject: |
|
|
I put my "neuron.xml" file in the following address but still it do not work.
"~/.kde4/share/apps/katepart/syntax/"
do you have another idea? |
|
Back to top |
|
|
Wormo Retired Dev
Joined: 29 Nov 2004 Posts: 526 Location: SB County California
|
Posted: Tue Jan 17, 2012 7:16 am Post subject: |
|
|
Are your kde files under .kde or .kde4 ? I'm not actually running kde so I don't know -- just wondered if ubuntu uses one directory while gentoo is using the other
You could try putting neuron.xml in the system-wide directory for kate syntax, at least temporarily -- try to tell if this version of kate is not finding your file or whether it is refusing to load it for some other reason. |
|
Back to top |
|
|
keivan n00b
Joined: 22 Nov 2010 Posts: 42
|
Posted: Wed Jan 18, 2012 5:20 am Post subject: |
|
|
Quote: | Are your kde files under .kde or .kde4 ? |
.kde4
Quote: | I'm not actually running kde so I don't know -- just wondered if ubuntu uses one directory while gentoo is using the other |
I think both of them use .kde4. this was my mistake.
Quote: | You could try putting neuron.xml in the system-wide directory for kate syntax, at least temporarily -- try to tell if this version of kate is not finding your file or whether it is refusing to load it for some other reason. |
I tried this solution but I'm not sure where is the location of that system-wide directory? |
|
Back to top |
|
|
Wormo Retired Dev
Joined: 29 Nov 2004 Posts: 526 Location: SB County California
|
Posted: Wed Jan 18, 2012 6:02 am Post subject: |
|
|
keivan wrote: |
Quote: | You could try putting neuron.xml in the system-wide directory for kate syntax, at least temporarily -- try to tell if this version of kate is not finding your file or whether it is refusing to load it for some other reason. |
I tried this solution but I'm not sure where is the location of that system-wide directory? |
I think it would be /usr/share/apps/katepart/syntax/ but you should verify using 'qlist kate' to show where the other syntax files live (I'm assuming you have app-portage/portage-utils installed, but if you don't already it's worth installing...) |
|
Back to top |
|
|
keivan n00b
Joined: 22 Nov 2010 Posts: 42
|
Posted: Wed Jan 18, 2012 3:31 pm Post subject: |
|
|
Quote: | I think it would be /usr/share/apps/katepart/syntax/ but you should verify using 'qlist kate' to show where the other syntax files live |
I think it was the correct location. I copied my neuron.xml to that location.
But it did not solve the problem.
Also, I deleted my ~/.kde4 folder entirely. I solved some of my problems but still, kate do not recognize my custom syntax highlighting.
This is the result of execution of "qlist kate" command after I copied my neuron.xml file into the system folders. It do not list my file.
Code: | /usr/lib64/libkateinterfaces.so
/usr/lib64/libktexteditor_codesnippets_core.so.0.0.1
/usr/lib64/libkateinterfaces.so.4
/usr/lib64/libkateinterfaces.so.4.7.0
/usr/lib64/libktexteditor_codesnippets_core.so
/usr/lib64/libkdeinit4_kate.so
/usr/lib64/libktexteditor_codesnippets_core.so.0
/usr/lib64/kde4/katetabifyplugin.so
/usr/lib64/kde4/katexmltoolsplugin.so
/usr/lib64/kde4/plasma_applet_katesession.so
/usr/lib64/kde4/kate_kttsd.so
/usr/lib64/kde4/katequickdocumentswitcherplugin.so
/usr/lib64/kde4/katefiletemplates.so
/usr/lib64/kde4/katefilebrowserplugin.so
/usr/lib64/kde4/katebacktracebrowserplugin.so
/usr/lib64/kde4/katekonsoleplugin.so
/usr/lib64/kde4/kateopenheaderplugin.so
/usr/lib64/kde4/katesymbolviewerplugin.so
/usr/lib64/kde4/katebuildplugin.so
/usr/lib64/kde4/katemailfilesplugin.so
/usr/lib64/kde4/katesqlplugin.so
/usr/lib64/kde4/katetextfilterplugin.so
/usr/lib64/kde4/katesnippets_tngplugin.so
/usr/lib64/kde4/katefindinfilesplugin.so
/usr/lib64/kde4/katefiletreeplugin.so
/usr/lib64/kde4/katectagsplugin.so
/usr/lib64/kde4/kategdbplugin.so
/usr/lib64/kde4/katexmlcheckplugin.so
/usr/lib64/kde4/kateexternaltoolsplugin.so
/usr/lib64/kde4/katetabbarextensionplugin.so
/usr/lib64/kde4/katesearchplugin.so
/usr/bin/ktesnippets_editor
/usr/bin/kate
/usr/share/mime/packages/ktesnippets.xml
/usr/share/man/man1/kate.1.bz2
/usr/share/apps/kate/kateui.rc
/usr/share/apps/kate/externaltools
/usr/share/apps/kate/icons/oxygen/16x16/actions/sql-table.png
/usr/share/apps/kate/icons/oxygen/16x16/actions/sql-view.png
/usr/share/apps/kate/icons/oxygen/16x16/actions/sql-field-pk.png
/usr/share/apps/kate/icons/oxygen/16x16/actions/null.png
/usr/share/apps/kate/icons/oxygen/16x16/actions/sql-field.png
/usr/share/apps/kate/icons/oxygen/16x16/actions/sql-field-red.png
/usr/share/apps/kate/plugins/filetree/ui.rc
/usr/share/apps/kate/plugins/kate_kttsd/ui.rc
/usr/share/apps/kate/plugins/katesql/ui.rc
/usr/share/apps/kate/plugins/kateopenheader/ui.rc
/usr/share/apps/kate/plugins/katetabbarextension/ui.rc
/usr/share/apps/kate/plugins/katesearch/ui.rc
/usr/share/apps/kate/plugins/katectags/ui.rc
/usr/share/apps/kate/plugins/katebuild/ui.rc
/usr/share/apps/kate/plugins/kategdb/ui.rc
/usr/share/apps/kate/plugins/katesymbolviewer/ui.rc
/usr/share/apps/kate/plugins/katesnippets_tng/ui.rc
/usr/share/apps/kate/plugins/katexmlcheck/ui.rc
/usr/share/apps/kate/plugins/katexmltools/ui.rc
/usr/share/apps/kate/plugins/katekonsole/ui.rc
/usr/share/apps/kate/plugins/kateexternaltools/ui.rc
/usr/share/apps/kate/plugins/katefiletemplates/templates/cppgpl.cpp.katetemplate
/usr/share/apps/kate/plugins/katefiletemplates/templates/docbookchapter.xml.katetemplate
/usr/share/apps/kate/plugins/katefiletemplates/templates/cpplgpl.cpp.katetemplate
/usr/share/apps/kate/plugins/katefiletemplates/templates/language.xml.katetemplate
/usr/share/apps/kate/plugins/katefiletemplates/templates/cppgpl.hh.katetemplate
/usr/share/apps/kate/plugins/katefiletemplates/templates/html.katetemplate
/usr/share/apps/kate/plugins/katefiletemplates/templates/cpplgpl.hh.katetemplate
/usr/share/apps/kate/plugins/katefiletemplates/ui.rc
/usr/share/apps/kate/plugins/katetabify/ui.rc
/usr/share/apps/kate/plugins/katequickdocumentswitcher/ui.rc
/usr/share/apps/kate/plugins/katetextfilter/ui.rc
/usr/share/apps/kate/plugins/katemailfiles/ui.rc
/usr/share/apps/kate/plugins/findinfiles/ui.rc
/usr/share/apps/kate/tips
/usr/share/apps/katexmltools/xhtml1-frameset.dtd.xml
/usr/share/apps/katexmltools/html4-loose.dtd.xml
/usr/share/apps/katexmltools/xhtml1-strict.dtd.xml
/usr/share/apps/katexmltools/html4-strict.dtd.xml
/usr/share/apps/katexmltools/kpartgui.dtd.xml
/usr/share/apps/katexmltools/xhtml1-transitional.dtd.xml
/usr/share/apps/katexmltools/xslt-1.0.dtd.xml
/usr/share/apps/katexmltools/language.dtd.xml
/usr/share/apps/katexmltools/testcases.xml
/usr/share/apps/katexmltools/kcfg.dtd.xml
/usr/share/apps/katexmltools/kde-docbook.dtd.xml
/usr/share/apps/katexmltools/simplify_dtd.xsl
/usr/share/apps/kconf_update/kate-2.4.upd
/usr/share/apps/katepart/syntax/katetemplate.xml
/usr/share/apps/ktexteditor_snippets/data/testsnippetscpp.xml
/usr/share/apps/ktexteditor_snippets/data/testsnippets.xml
/usr/share/config/katefiletemplates.knsrc
/usr/share/config/ktexteditor_codesnippets_core.knsrc
/usr/share/config/katerc
/usr/share/applications/kde4/kate.desktop
/usr/share/applications/kde4/ktesnippets_editor.desktop
/usr/share/icons/oxygen/16x16/actions/debug.png
/usr/share/icons/oxygen/16x16/actions/repomanage.png
/usr/share/icons/oxygen/16x16/actions/snippetadd.png
/usr/share/icons/oxygen/16x16/actions/repoadd.png
/usr/share/icons/oxygen/16x16/actions/snippetedit.png
/usr/share/icons/hicolor/48x48/apps/kate.png
/usr/share/icons/hicolor/128x128/apps/kate.png
/usr/share/icons/hicolor/32x32/apps/kate.png
/usr/share/icons/hicolor/22x22/apps/kate.png
/usr/share/icons/hicolor/64x64/apps/kate.png
/usr/share/icons/hicolor/16x16/apps/kate.png
/usr/share/icons/hicolor/scalable/apps/kate.svgz
/usr/share/doc/HTML/en/kate/menus.docbook
/usr/share/doc/HTML/en/kate/vi.docbook
/usr/share/doc/HTML/en/kate/index.docbook
/usr/share/doc/HTML/en/kate/unhighlighted.png
/usr/share/doc/HTML/en/kate/highlighting.docbook
/usr/share/doc/HTML/en/kate/configdialog01.png
/usr/share/doc/HTML/en/kate/man-kate.1.docbook
/usr/share/doc/HTML/en/kate/comma-to.png
/usr/share/doc/HTML/en/kate/mdi.docbook
/usr/share/doc/HTML/en/kate/advanced.docbook
/usr/share/doc/HTML/en/kate/part.docbook
/usr/share/doc/HTML/en/kate/regular-expressions.docbook
/usr/share/doc/HTML/en/kate/common
/usr/share/doc/HTML/en/kate/index.cache.bz2
/usr/share/doc/HTML/en/kate/fundamentals.docbook
/usr/share/doc/HTML/en/kate/plugins.docbook
/usr/share/doc/HTML/en/kate/highlighted.png
/usr/share/doc/HTML/en/kate/kate.png
/usr/share/doc/HTML/en/kate/configuring.docbook
/usr/share/doc/kate-4.7.4/NEWS.bz2
/usr/share/doc/kate-4.7.4/AUTHORS.bz2
/usr/share/doc/kate-4.7.4/ChangeLog.bz2
/usr/share/doc/kate-4.7.4/README.bz2
/usr/share/doc/kate-4.7.4/TODO.bz2
/usr/share/kde4/services/katetextfilter.desktop
/usr/share/kde4/services/kategdbplugin.desktop
/usr/share/kde4/services/kateopenheader.desktop
/usr/share/kde4/services/katefilebrowserplugin.desktop
/usr/share/kde4/services/katequickdocumentswitcher.desktop
/usr/share/kde4/services/katesearch.desktop
/usr/share/kde4/services/katekonsoleplugin.desktop
/usr/share/kde4/services/katebacktracebrowserplugin.desktop
/usr/share/kde4/services/katetabifyplugin.desktop
/usr/share/kde4/services/plasma-applet-katesession.desktop
/usr/share/kde4/services/katetabbarextension.desktop
/usr/share/kde4/services/katesnippets_tngplugin.desktop
/usr/share/kde4/services/katexmltools.desktop
/usr/share/kde4/services/katefiletreeplugin.desktop
/usr/share/kde4/services/katexmlcheck.desktop
/usr/share/kde4/services/katesymbolviewer.desktop
/usr/share/kde4/services/katefindinfilesplugin.desktop
/usr/share/kde4/services/katemailfilesplugin.desktop
/usr/share/kde4/services/katebuildplugin.desktop
/usr/share/kde4/services/katesql.desktop
/usr/share/kde4/services/katefiletemplates.desktop
/usr/share/kde4/services/katectagsplugin.desktop
/usr/share/kde4/services/kate_kttsd.desktop
/usr/share/kde4/services/kateexternaltoolsplugin.desktop
/usr/share/kde4/servicetypes/kateplugin.desktop
/usr/include/kate/mainwindow.h
/usr/include/kate/pluginmanager.h
/usr/include/kate/documentmanager.h
/usr/include/kate/application.h
/usr/include/kate/pluginconfigpageinterface.h
/usr/include/kate/plugin.h
/usr/include/kate_export.h
/usr/include/ktexteditor_codesnippets_core/repository.h
/usr/include/ktexteditor_codesnippets_core/completionmodel.h
/usr/include/ktexteditor_codesnippets_core/ktexteditor_codesnippets_core_export.h
/usr/lib64/libkatepartinterfaces.so.4
/usr/lib64/libkatepartinterfaces.so
/usr/lib64/libkatepartinterfaces.so.4.7.0
/usr/lib64/kde4/ktexteditor_python-encoding.so
/usr/lib64/kde4/ktexteditor_autobrace.so
/usr/lib64/kde4/ktexteditor_iconinserter.so
/usr/lib64/kde4/ktexteditor_insanehtml_le.so
/usr/lib64/kde4/ktexteditor_exporter.so
/usr/lib64/kde4/katepart.so
/usr/lib64/kde4/ktexteditor_kdatatool.so
/usr/lib64/kde4/ktexteditor_insertfile.so
/usr/lib64/kde4/ktexteditor_hlselection.so
/usr/share/apps/ktexteditor_insertfile/ktexteditor_insertfileui.rc
/usr/share/apps/ktexteditor_exporter/ktexteditor_exporterui.rc
/usr/share/apps/ktexteditor_insanehtml_le/insanehtml_le_ui.rc
/usr/share/apps/ktexteditor_insanehtml_le/xhtml.cfg
/usr/share/apps/katepart/katepartui.rc
/usr/share/apps/katepart/katepartsimpleui.rc
/usr/share/apps/katepart/syntax/postscript.xml
/usr/share/apps/katepart/syntax/fsharp.xml
/usr/share/apps/katepart/syntax/stata.xml
/usr/share/apps/katepart/syntax/xharbour.xml
/usr/share/apps/katepart/syntax/java.xml
/usr/share/apps/katepart/syntax/changelog.xml
/usr/share/apps/katepart/syntax/language.dtd
/usr/share/apps/katepart/syntax/ruby.xml
/usr/share/apps/katepart/syntax/mergetagtext.xml
/usr/share/apps/katepart/syntax/modula-2.xml
/usr/share/apps/katepart/syntax/sed.xml
/usr/share/apps/katepart/syntax/ferite.xml
/usr/share/apps/katepart/syntax/cgis.xml
/usr/share/apps/katepart/syntax/go.xml
/usr/share/apps/katepart/syntax/sather.xml
/usr/share/apps/katepart/syntax/desktop.xml
/usr/share/apps/katepart/syntax/javadoc.xml
/usr/share/apps/katepart/syntax/picsrc.xml
/usr/share/apps/katepart/syntax/mandoc.xml
/usr/share/apps/katepart/syntax/sgml.xml
/usr/share/apps/katepart/syntax/vrml.xml
/usr/share/apps/katepart/syntax/rexx.xml
/usr/share/apps/katepart/syntax/lua.xml
/usr/share/apps/katepart/syntax/debiancontrol.xml
/usr/share/apps/katepart/syntax/lex.xml
/usr/share/apps/katepart/syntax/asm-m68k.xml
/usr/share/apps/katepart/syntax/modelica.xml
/usr/share/apps/katepart/syntax/cpp.xml
/usr/share/apps/katepart/syntax/gnuassembler.xml
/usr/share/apps/katepart/syntax/xml.xml
/usr/share/apps/katepart/syntax/ansys.xml
/usr/share/apps/katepart/syntax/makefile.xml
/usr/share/apps/katepart/syntax/erlang.xml
/usr/share/apps/katepart/syntax/haxe.xml
/usr/share/apps/katepart/syntax/mab.xml
/usr/share/apps/katepart/syntax/sisu.xml
/usr/share/apps/katepart/syntax/asm6502.xml
/usr/share/apps/katepart/syntax/vhdl.xml
/usr/share/apps/katepart/syntax/fstab.xml
/usr/share/apps/katepart/syntax/opal.xml
/usr/share/apps/katepart/syntax/sql-postgresql.xml
/usr/share/apps/katepart/syntax/kbasic.xml
/usr/share/apps/katepart/syntax/pascal.xml
/usr/share/apps/katepart/syntax/boo.xml
/usr/share/apps/katepart/syntax/python.xml
/usr/share/apps/katepart/syntax/gdb.xml
/usr/share/apps/katepart/syntax/verilog.xml
/usr/share/apps/katepart/syntax/systemc.xml
/usr/share/apps/katepart/syntax/d.xml
/usr/share/apps/katepart/syntax/abc.xml
/usr/share/apps/katepart/syntax/mup.xml
/usr/share/apps/katepart/syntax/octave.xml
/usr/share/apps/katepart/syntax/lpc.xml
/usr/share/apps/katepart/syntax/pango.xml
/usr/share/apps/katepart/syntax/scala.xml
/usr/share/apps/katepart/syntax/rpmspec.xml
/usr/share/apps/katepart/syntax/winehq.xml
/usr/share/apps/katepart/syntax/commonlisp.xml
/usr/share/apps/katepart/syntax/mason.xml
/usr/share/apps/katepart/syntax/fortran.xml
/usr/share/apps/katepart/syntax/diff.xml
/usr/share/apps/katepart/syntax/objectivec.xml
/usr/share/apps/katepart/syntax/literate-haskell.xml
/usr/share/apps/katepart/syntax/coffee.xml
/usr/share/apps/katepart/syntax/ldif.xml
/usr/share/apps/katepart/syntax/sml.xml
/usr/share/apps/katepart/syntax/oors.xml
/usr/share/apps/katepart/syntax/xmldebug.xml
/usr/share/apps/katepart/syntax/sieve.xml
/usr/share/apps/katepart/syntax/povray.xml
/usr/share/apps/katepart/syntax/txt2tags.xml
/usr/share/apps/katepart/syntax/euphoria.xml
/usr/share/apps/katepart/syntax/c.xml
/usr/share/apps/katepart/syntax/yacc.xml
/usr/share/apps/katepart/syntax/lsl.xml
/usr/share/apps/katepart/syntax/fgl-4gl.xml
/usr/share/apps/katepart/syntax/wml.xml
/usr/share/apps/katepart/syntax/rsiidl.xml
/usr/share/apps/katepart/syntax/gettext.xml
/usr/share/apps/katepart/syntax/gap.xml
/usr/share/apps/katepart/syntax/scheme.xml
/usr/share/apps/katepart/syntax/matlab.xml
/usr/share/apps/katepart/syntax/asm-avr.xml
/usr/share/apps/katepart/syntax/latex.xml
/usr/share/apps/katepart/syntax/monobasic.xml
/usr/share/apps/katepart/syntax/cg.xml
/usr/share/apps/katepart/syntax/actionscript.xml
/usr/share/apps/katepart/syntax/freebasic.xml
/usr/share/apps/katepart/syntax/idl.xml
/usr/share/apps/katepart/syntax/m3u.xml
/usr/share/apps/katepart/syntax/lilypond.xml
/usr/share/apps/katepart/syntax/mediawiki.xml
/usr/share/apps/katepart/syntax/prolog.xml
/usr/share/apps/katepart/syntax/grammar.xml
/usr/share/apps/katepart/syntax/bmethod.xml
/usr/share/apps/katepart/syntax/mips.xml
/usr/share/apps/katepart/syntax/doxygen.xml
/usr/share/apps/katepart/syntax/awk.xml
/usr/share/apps/katepart/syntax/noweb.xml
/usr/share/apps/katepart/syntax/cue.xml
/usr/share/apps/katepart/syntax/html.xml
/usr/share/apps/katepart/syntax/sci.xml
/usr/share/apps/katepart/syntax/fgl-per.xml
/usr/share/apps/katepart/syntax/pgn.xml
/usr/share/apps/katepart/syntax/cmake.xml
/usr/share/apps/katepart/syntax/velocity.xml
/usr/share/apps/katepart/syntax/html-php.xml
/usr/share/apps/katepart/syntax/e.xml
/usr/share/apps/katepart/syntax/asm-dsp56k.xml
/usr/share/apps/katepart/syntax/rapidq.xml
/usr/share/apps/katepart/syntax/uscript.xml
/usr/share/apps/katepart/syntax/xul.xml
/usr/share/apps/katepart/syntax/syntax.template
/usr/share/apps/katepart/syntax/sql-mysql.xml
/usr/share/apps/katepart/syntax/purebasic.xml
/usr/share/apps/katepart/syntax/xorg.xml
/usr/share/apps/katepart/syntax/eiffel.xml
/usr/share/apps/katepart/syntax/asterisk.xml
/usr/share/apps/katepart/syntax/inform.xml
/usr/share/apps/katepart/syntax/bibtex.xml
/usr/share/apps/katepart/syntax/doxygenlua.xml
/usr/share/apps/katepart/syntax/djangotemplate.xml
/usr/share/apps/katepart/syntax/sql.xml
/usr/share/apps/katepart/syntax/qml.xml
/usr/share/apps/katepart/syntax/tibasic.xml
/usr/share/apps/katepart/syntax/javascript-php.xml
/usr/share/apps/katepart/syntax/ahdl.xml
/usr/share/apps/katepart/syntax/ilerpg.xml
/usr/share/apps/katepart/syntax/coldfusion.xml
/usr/share/apps/katepart/syntax/jsp.xml
/usr/share/apps/katepart/syntax/texinfo.xml
/usr/share/apps/katepart/syntax/nasm.xml
/usr/share/apps/katepart/syntax/objectivecpp.xml
/usr/share/apps/katepart/syntax/rhtml.xml
/usr/share/apps/katepart/syntax/spice.xml
/usr/share/apps/katepart/syntax/perl.xml
/usr/share/apps/katepart/syntax/asp.xml
/usr/share/apps/katepart/syntax/tcl.xml
/usr/share/apps/katepart/syntax/alert.xml
/usr/share/apps/katepart/syntax/asn1.xml
/usr/share/apps/katepart/syntax/glsl.xml
/usr/share/apps/katepart/syntax/css-php.xml
/usr/share/apps/katepart/syntax/roff.xml
/usr/share/apps/katepart/syntax/gdl.xml
/usr/share/apps/katepart/syntax/ample.xml
/usr/share/apps/katepart/syntax/maxima.xml
/usr/share/apps/katepart/syntax/r.xml
/usr/share/apps/katepart/syntax/alert_indent.xml
/usr/share/apps/katepart/syntax/clipper.xml
/usr/share/apps/katepart/syntax/bash.xml
/usr/share/apps/katepart/syntax/progress.xml
/usr/share/apps/katepart/syntax/idconsole.xml
/usr/share/apps/katepart/syntax/ocaml.xml
/usr/share/apps/katepart/syntax/metafont.xml
/usr/share/apps/katepart/syntax/yacas.xml
/usr/share/apps/katepart/syntax/dtd.xml
/usr/share/apps/katepart/syntax/haskell.xml
/usr/share/apps/katepart/syntax/cs.xml
/usr/share/apps/katepart/syntax/json.xml
/usr/share/apps/katepart/syntax/yaml.xml
/usr/share/apps/katepart/syntax/logtalk.xml
/usr/share/apps/katepart/syntax/css.xml
/usr/share/apps/katepart/syntax/debianchangelog.xml
/usr/share/apps/katepart/syntax/email.xml
/usr/share/apps/katepart/syntax/rib.xml
/usr/share/apps/katepart/syntax/javascript.xml
/usr/share/apps/katepart/syntax/php.xml
/usr/share/apps/katepart/syntax/ada.xml
/usr/share/apps/katepart/syntax/abap.xml
/usr/share/apps/katepart/syntax/ansic89.xml
/usr/share/apps/katepart/syntax/apache.xml
/usr/share/apps/katepart/syntax/cisco.xml
/usr/share/apps/katepart/syntax/zonnon.xml
/usr/share/apps/katepart/syntax/pike.xml
/usr/share/apps/katepart/syntax/component-pascal.xml
/usr/share/apps/katepart/syntax/nemerle.xml
/usr/share/apps/katepart/syntax/ini.xml
/usr/share/apps/katepart/syntax/xslt.xml
/usr/share/apps/katepart/api/05_cursor.js
/usr/share/apps/katepart/api/10_range.js
/usr/share/apps/katepart/script/xml.js
/usr/share/apps/katepart/script/python.js
/usr/share/apps/katepart/script/ruby.js
/usr/share/apps/katepart/script/utils.js
/usr/share/apps/katepart/script/lilypond.js
/usr/share/apps/katepart/script/cstyle.js
/usr/share/apps/katepart/script/haskell.js
/usr/share/apps/katepart/script/lua.js
/usr/share/apps/katepart/script/lisp.js
/usr/share/apps/ktexteditor_iconinserter/ktexteditor_iconinserterui.rc
/usr/share/apps/ktexteditor_kdatatool/ktexteditor_kdatatoolui.rc
/usr/share/config/katemoderc
/usr/share/config/katepartpluginsrc
/usr/share/icons/hicolor/scalable/apps/ktexteditorautobrace.svgz
/usr/share/doc/katepart-4.7.4/NEWS.bz2
/usr/share/doc/katepart-4.7.4/AUTHORS.bz2
/usr/share/doc/katepart-4.7.4/ChangeLog.bz2
/usr/share/doc/katepart-4.7.4/README.testing.bz2
/usr/share/doc/katepart-4.7.4/README.bz2
/usr/share/doc/katepart-4.7.4/README.vimode.bz2
/usr/share/doc/katepart-4.7.4/TODO.bz2
/usr/share/kde4/services/ktexteditor_insanehtml_le.desktop
/usr/share/kde4/services/ktexteditor_iconinserter.desktop
/usr/share/kde4/services/ktexteditor_insertfile.desktop
/usr/share/kde4/services/ktexteditor_hlselection.desktop
/usr/share/kde4/services/ktexteditor_kdatatool.desktop
/usr/share/kde4/services/ktexteditor_python-encoding.desktop
/usr/share/kde4/services/katepart.desktop
/usr/share/kde4/services/ktexteditor_autobrace.desktop
/usr/share/kde4/services/ktexteditor_autobrace_config.desktop
/usr/share/kde4/services/ktexteditor_exporter.desktop
|
Quote: | I'm assuming you have app-portage/portage-utils installed, but if you don't already it's worth installing |
I installed it now. What is it for? |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Wed Jan 18, 2012 4:37 pm Post subject: |
|
|
keivan wrote: | Quote: | I'm assuming you have app-portage/portage-utils installed, but if you don't already it's worth installing |
I installed it now. What is it for? |
Examples:
Code: | $ quse -D raster
local:raster:x11-libs/qt-gui: Use the alternative raster graphicssystem as default rendering engine
$ qfile /etc/conf.d/alsasound
media-sound/alsa-utils (/etc/conf.d/alsasound)
$ qlop -tH paludis
paludis: 3 minutes, 32 seconds for 1 merges |
->
|
|
Back to top |
|
|
keivan n00b
Joined: 22 Nov 2010 Posts: 42
|
Posted: Thu Jan 19, 2012 7:02 pm Post subject: |
|
|
thank you franzf for the example.
My problem still exists. Do you think it is time for reporting a bug? |
|
Back to top |
|
|
wizulis n00b
Joined: 07 Nov 2010 Posts: 46
|
Posted: Thu Jan 19, 2012 9:47 pm Post subject: |
|
|
Could it be that the kate version mentioned in your syntax file does not match the version of your installed kate? |
|
Back to top |
|
|
keivan n00b
Joined: 22 Nov 2010 Posts: 42
|
Posted: Fri Jan 20, 2012 7:34 am Post subject: |
|
|
Quote: | Could it be that the kate version mentioned in your syntax file does not match the version of your installed kate? |
Yes it was. I rewrote the syntax file and it works fine. |
|
Back to top |
|
|
noisebleed Apprentice
Joined: 03 Oct 2006 Posts: 177 Location: Porto, Portugal
|
Posted: Sat Jan 05, 2013 3:19 pm Post subject: |
|
|
keivan wrote: | Quote: | Could it be that the kate version mentioned in your syntax file does not match the version of your installed kate? |
Yes it was. I rewrote the syntax file and it works fine. |
Great, this fixed my issue with a Markdown syntax file I've downloaded. Thanks! _________________ Please add [SOLVED] to the subject line if the posted issue is resolved. |
|
Back to top |
|
|
|