Wiki

Changes between Version 7 and Version 8 of GtkEditors

Show
Ignore:
Timestamp:
06/22/12 23:57:25 (5 years ago)
Author:
Charles
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GtkEditors

    v7 v8  
    11Attached to this page is a syntax highlighting file for !GtkSourceView which is used by gedit, scribes and other editors/IDEs. 
     2 
     3In the text below, use '''3.0''' or '''2.0''' in place of '''VER''' depending on what version of GTK you are using. 
    24 
    35Download "cobra.lang" from this page and put it in the correct directory. Under Windows: 
    46 
    5  * Windows XP/Vista/7: %userprofile%\My Documents\gtksourceview-2.0\language-specs\ (%homepath% can be used instead of %userprofile%) 
    6  * It can be also be placed in %programfiles%\gedit\share\gtksourceview-2.0\language-specs\ but for security reasons the OS will throw any modified data into a virtualized directory. For example, that might be %userprofile%\!AppData\Local\!VirtualStore\... 
     7 * Windows XP/Vista/7: %userprofile%\My Documents\gtksourceview-VER\language-specs\ (%homepath% can be used instead of %userprofile%) 
     8 * It can be also be placed in %programfiles%\gedit\share\gtksourceview-VER\language-specs\ but for security reasons the OS will throw any modified data into a virtualized directory. For example, that might be %userprofile%\!AppData\Local\!VirtualStore\... 
    79 
    8 Under Mac, Linux and other UnixLike systems, put "cobra.lang" in '''(root)/share/gtksourceview-2.0/language-specs''' where '''(root)''' is one of: 
     10Under Mac, Linux and other UnixLike systems, put "cobra.lang" in '''(root)/share/gtksourceview-VER/language-specs''' where '''(root)''' is one of: 
    911 * ~/.local 
    1012 * /opt 
     
    1921 
    2022 * Verify that the file is called "cobra.lang" and has not been mangled during downloading such as being called "cobra.lang.xml". 
    21  * Verify that the file starts with "<?xml version="1.0" encoding="UTF-8"?> <language id="cobra" _name="Cobra" version="2.0" _section="Sources">" and is not wrapped in HTML (again a potential problem from browser downloads). 
     23 * Verify that the file starts with "<?xml version="1.0" encoding="UTF-8"?> <language id="cobra" _name="Cobra" version="VER" _section="Sources">" and is not wrapped in HTML (again a potential problem from browser downloads). 
    2224 * Verify that the path is correct. 
    2325