2545More indent questions
- Apr 12, 2010I am trying to write a mode for the Josl programming language,
I can get everything to indent, i.e.
"Hello, Person!" println
except for the new words...
So, if a word starts in column 1, then it's a new top level word. That
top level word's definition continues until a new top level word begins.
Now, in practical use, you separate two top level words by two blank
lines, so that could be used to detect the end of a word for indentation.
Does anyone have an idea on how this can be accomplished?
- << Previous post in topic Next post in topic >>