scite and matlab or octave

145 views
Skip to first unread message

scales11

unread,
Sep 27, 2009, 7:49:35 PM9/27/09
to scintilla-interest
Hi all,
I am trying to get scite to work with octave. When I create a new
file and save it as file.m scite does not recognize it as a "matlab"
file. Also, I am unable to select "go" from the tools menu, it is
greyed out. I have tried editing the matlab.properties file and
changed the first few lines to the following:

# Define SciTE settings for Octave and Matlab (see below) files.

# set the default lexer for .m files
DEFAULT_M_LEXER_OCTAVE=1
DEFAULT_M_LEXER_MATLAB=0

#-----------------------------------------------------------------------
# Octave
#-----------------------------------------------------------------------

# M: Octave M-Files (we nee .m.octave for distinguishing it from
matlab)
#file.patterns.octave=*.m.octave
if DEFAULT_M_LEXER_OCTAVE
file.patterns.octave=*.m;$(file.patterns.octave)
#file.patterns.matlab=*.m;*.m.octave

this makes scite recognize the .m file as a matlab language (or octave
rather), but it doesnt make the "go" option clickable.

anyone have any ideas?
Reply all
Reply to author
Forward
0 new messages