%expand%
C++}))
// (%(tab:4)%)
Perl:
# (%(tab:4)%)
HTML (for source editing only):
<!-- (%(tab:4)%) -->
LISP (no parens... too confusing):
; [%[tab:4]%]
SMX (no % signs or parens):
%null([#[tab:4]#])
| Bracing against the wind | |
| www.documentroot.com |
|
Monday, January 23, 2012
Embed Tab Size Info in Source Text
The sig must be in the first or last 128 bytes of a file (so reading the sig is faster) The syntax could be something like: open paren or brace, % or # sign, open paren or brace, the word "tab" then a ':', then anything except a closing/matching paren or brace, then a percent and then another closing paren/brace. [(\[][%#][(\[]tab:[^\)]*[%#][(\[] Examples: C++ [View/Post Comments] [Digg] [Del.icio.us] [Stumble] |
|
Bloghop:
|
Blogarama
|
Technorati
|
Blogwise