summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2018-12-29 02:03:49 +0100
committerMatthias Melcher <git@matthiasm.com>2018-12-29 02:03:49 +0100
commit95ab1dd73e9c5ea845ce03340b2861ea8a652b7e (patch)
tree6b8e9214f8e7c3eaf5a1dbf9524d25dc110a6730 /test
parent29fe0c43df7bad2df0f4445994b9d5d851bc2cdb (diff)
Fixing STR #2901, wrongly escaping the formatting character code in Fl_Browser.
Diffstat (limited to 'test')
-rw-r--r--test/browser.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/browser.cxx b/test/browser.cxx
index 48edd302b..a3485ca15 100644
--- a/test/browser.cxx
+++ b/test/browser.cxx
@@ -45,6 +45,9 @@ That was a blank line above this.
@C2Green
@C4Blue
+@@ start line with '@'
+@.@ alternative start line with '@'
+
You should try different browser types:
Fl_Browser
Fl_Select_Browser
@@ -164,6 +167,7 @@ int main(int argc, char **argv) {
browser->callback(b_cb);
// browser->scrollbar_right();
//browser->has_scrollbar(Fl_Browser::BOTH_ALWAYS);
+ //browser->format_char('#');
if (!browser->load(fname)) {
int done = 0;
#ifdef _MSC_VER