Re: [fltk.bugs] [LOW] STR #2901: Fl_Browser format codes

2012-12-09 Thread corvid

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2901
Version: 1.3-current


Let's see...that formatting stuff was in...Fl_Browser::item_draw().


Link: http://www.fltk.org/str.php?L2901
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2901: Fl_Browser format codes

2012-12-09 Thread Albrecht Schlosser

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2901
Version: 1.3-current


@1: 'N' format code undocumented: should be added to docs.

@2: literal '@': Hmm, I don't know what it's exactly intended to do, but
the while loop started some lines above has  *str != format_char(), so
this is in fact format_char() != '@' followed by '@' ?

Just wanted to add my *observation*, w/o further analysis. What is it
intended to do there, and is that documented correctly? Or am I missing
something?


Link: http://www.fltk.org/str.php?L2901
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2901: Fl_Browser format codes

2012-12-09 Thread corvid

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2901
Version: 1.3-current


Ah, yes. So the literal '@' was to get out if you found your way in there
for whatever reason and...wanted to get out and print the string starting
with the '@'... I guess. The documentation under format_char() doesn't
make that situation very clear.

In any case, I'm not using that feature. It was something that caught my
eye while writing about @N.


Link: http://www.fltk.org/str.php?L2901
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs


Re: [fltk.bugs] [LOW] STR #2901: Fl_Browser format codes

2012-12-09 Thread Albrecht Schlosser

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2901
Version: 1.3-current


The documentation is ... ambiguous at best:

http://www.fltk.org/doc-1.3/classFl__Browser.html#a6b4d3525d8d9fccfc748d824b39f250b

'@@' Print rest of line starting with '@' 

Obviously the first '@' is meant to represent the current format_char(),
but the second '@'? Literal '@' or also format_char()? I tend to read it
as the latter, but ...

(a) then the code posted above in the while loop doesn't make sense

(b) how to represent a single @ sign and continue parsing format_char()?
Is this not possible? At least I can't find it unambiguously in the docs.
Or does Print rest of line mean Print with parsing '@' signs
(format_char()'s) ???

Still confused ... It's not clear to me whether the code is correct at
all, whatever is documented or not.

Does anybody know what is really meant in the docs?


Link: http://www.fltk.org/str.php?L2901
Version: 1.3-current

___
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs