Changes between Version 7 and Version 8 of GtkEditors
- Timestamp:
- 06/22/12 23:57:25 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GtkEditors
v7 v8 1 1 Attached to this page is a syntax highlighting file for !GtkSourceView which is used by gedit, scribes and other editors/IDEs. 2 3 In the text below, use '''3.0''' or '''2.0''' in place of '''VER''' depending on what version of GTK you are using. 2 4 3 5 Download "cobra.lang" from this page and put it in the correct directory. Under Windows: 4 6 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\... 7 9 8 Under Mac, Linux and other UnixLike systems, put "cobra.lang" in '''(root)/share/gtksourceview- 2.0/language-specs''' where '''(root)''' is one of:10 Under Mac, Linux and other UnixLike systems, put "cobra.lang" in '''(root)/share/gtksourceview-VER/language-specs''' where '''(root)''' is one of: 9 11 * ~/.local 10 12 * /opt … … 19 21 20 22 * 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). 22 24 * Verify that the path is correct. 23 25