Age | Commit message (Collapse) | Author |
|
|
|
from Benjamin Tolputt (btolputt), (with minor changes)
adds support for LUA syntax highlighting.
|
|
fills in the line with a formatting value.
this fixes a mistake in OSL lexer which would comment all lines after '//'
|
|
|
|
comment for // in OSL)
|
|
asserts if the continuation values are wrong (which can happen with buffer overflows on formatting).
|
|
from Patrick Boelens (senshi). with modifications to split it into its own function.
also added C style multi-line comment support /* ... */
I've left out the part of this patch that sets the language in the space, since I think this might be better stored in the text block.
For now it simply uses OSL syntax highlighting when the extension is '.osl'.
|
|
STR_LITERAL_STARTSWITH() macro that gets the size from sizeof().
|
|
|
|
each has their own source file,
Since we will likely have OSL formatting added soon.
|