After lots of hunting I figured out how to manually set the mode on a file.
What I want is for it to be automatic.
Right, so my build system is in ruby, I wanted to add rantfiles + rakefiles as ruby files.
1 - under tools -> options -> file options -> file type filters; My ruby filter is "*.rb;*.rby;rantfile;rakefile"
That works great. I verified it in the open file dialogue.
2 - Under language options -> Ruby, all I have is file extensions... no glob pattern, just a raw extension so if I add "rakefile" slickedit looks for "*.rakefile" which is not what I want.
Filters dont translate to filetypes
I tested it with makefiles, which have only file extenions "*.mk, *.mak" but it detects "Makefile" as a makefile so clearly I can do it somehow..
Only I cant figure that out.. I see some info in macros/defaults.e
anyone know how I can add my filetypes??