::CLASS lightline PUBLIC
representation of a source line
insertions can be made nefore or after any character position
the complete edited line can then be reconstituted
Definition at line
96 of
colourable.cls
Public Methods
|
|
addpost
(index, toadd)
|
|
add a string after a character position
|
|
addpre
(index, toadd)
|
|
add a string before a character position
|
|
init
(src)
|
|
no comment
|
string
|
tohtmlstring
()
|
|
return the string with any additions inserted
|
string
|
tostring
()
|
|
return the string with any additions inserted
|
Public Attributes
|
|
post
|
|
directory of insertions post character
|
|
pre
|
|
directory of insertions pre character
|
|
src
|
|
the source line
|
|
srclen
|
|
length of source line
|
Instantiated by
colourable.cls line 59
Feature Detail
::ATTRIBUTE srclen
|
length of source line
Dynamically referenced by
colourable.cls line 107 "
self~srclen = src~length"
colourable.cls line 145 "
do j = 1 to self~srclen"
colourable.cls line 176 "
do j = 1 to self~srclen"
::METHOD init
|
Parameters
src - the source line
::METHOD addpre
|
add a string before a character position
Parameters
index - 1index of character
toadd - string to add
Dynamically referenced by
colourable.cls line 77 "
self~lines[line]~addpre(col, toadd)"
colourable.cls line 86 "
self~lines[line]~addpre(col, toadd)"
htmlrexxsource.cls line 249 "
col~addpre(rdc~startline, 1, '<a name='rdc~hsrcanchor'></a>')"
htmlrexxsource.cls line 256 "
col~addpre(i~startline, i~startcol, '<span class="syncomment">')"
htmlrexxsource.cls line 285 "
col~addpre(i~startline, i~startcol, '<span class="syncharliteral">')"
htmlrexxsource.cls line 299 "
col~addpre(c~startline, 1, '<a name='c~hsrcanchor'></a>')"
htmlrexxsource.cls line 308 "
col~lines[j]~addpre(1, '<span class="synlinecount">'j~right(5,'0')'</span> ')"
::METHOD addpost
|
add a string after a character position
Parameters
index - 1index of character
toadd - string to add
Dynamically referenced by
colourable.cls line 82 "
self~lines[line]~addpost(col, toadd)"
colourable.cls line 90 "
self~lines[line]~addpost(col, toadd)"
htmlrexxsource.cls line 257 "
col~addpost(i~feature~endline, i~endcol, '</span>')"
htmlrexxsource.cls line 286 "
col~addpost(i~endline, i~endcol, '</span>')"
::METHOD tohtmlstring
|
return the string with any additions inserted
the original string is cleaned for html use
Returns
string
Dynamically referenced by
htmlrexxsource.cls line 95 "
tp~queue(i~tohtmlstring)"
::METHOD tostring
|
return the string with any additions inserted
Returns
string
Dynamically referenced by
colourable.cls line 69 "
q~queue(i~toString)"
|
Generated on 31 Aug 2010 05:20:02 for RexxLiterate by
0.0.1
|