syntax highlighting for gtksourceview for editors like gedit or meld

This set of files allows you to get syntax highlighting in gedit (http://en.wikipedia.org/wiki/Gedit) or meld (http://en.wikipedia.org/wiki/Meld_%28software%29). These editors are crossplatform (windows, mac, linux) and open source.
This allows to compensate for some missing features of the native igor editor, namely:
  • autocompletion
  • line numbering
  • automated bracket completion
  • automatic indentation
  • bookmarks
  • code snippets
  • Line wraping when printing
  • case change
  • multiedit (allowing to do a whole column of setDimLabel at once for example)
  • and last but not least, side-by-side code comparison.
To install, download gedit (or meld for the side by side comparison feature), and replace the gap.lang in the language-specs folder of gtksourceview by the one provided here.
On mac, this file is inside the gedit app folder when you download gedit
On linux, this file should be in /usr/share/gtksourceview-2.0/language-specs/ (or gtksourceview-3.0 depending on the version of the system)
(the file is called gap.lang since at the time it was created, there was no obvious way to support a new language so the hack consisted of replacing an existing one).
The igor.xml file only serves to get the same colors as in the igor editor. It goes in the styles folder under the gtksourceview folder (you can also load it manually in the preferences menu).
Gedit should now open .ipf files with the proper highlighting. To use the functionalities described above, you will need to activate the corresponding plugins in the preferences. In linux, this requires the gedit-plugins package. On mac, they are part of the package.

It's now complete thansk to Adam Lights Geshi highlighting plugin.

Project Details

Project Screenshots: screenshot

Current Project Release

syntax highlighting for gtksourceview for editors like gedit or meld IGOR.6.20.x-2.0

Release File: editorBoostWithProcedure.zip
Version: IGOR.6.20.x-2.0
Version Date: Thu, 03/28/2013 - 02:35 pm
Version Major: 2
Version Patch Level: 0
OS Compatibility: Mac-Intel Windows
Release Notes: The language support is now complete with autogeneration from ipf procedure.
It was tested under 6.22 but should work on later versions, just compile the procedure and type
 createLanguageFile()
in the commad window.
It will prompt you for a place to save the file. Select all file types and save as gap.lang.
View All Releases

Forum

Support

Gallery

Igor Pro 8

Learn More

Igor XOP Toolkit

Learn More

Igor NIDAQ Tools MX

Learn More