Tree pane syntax: F f v > chars position
Shouldn't these chars denote what they are supposed to denote only when they are at the beginning of the line (after the hierarchy depth spaces and points)?
Currently, no matter where chars like F,f,v etc. are present in a tree definition line, they will be interpreted as icons markers and the text of that line will be chucked.
Currently, no matter where chars like F,f,v etc. are present in a tree definition line, they will be interpreted as icons markers and the text of that line will be chucked.
2
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
-
Inappropriate?Hi Cristian, can you please give me an example of a line of text that doesn't behave properly? I'm sure I'm doing something silly in the code, should be a quick fix.
-
Inappropriate?Take for instance the default text that comes with the tree pane. If on the first line you remove the first F/f, don't remember exactly which one is it, Mockups will detect an F/f within the rest of the line. I personally used a regular expression to parse your tree definition (Napkee's Enrico knows why ;-) ), something like: /^([ |.]*){1}(f|F|v|>|-) /g. This will detect an F/f/v/>/- which is at the beginning of the line after a series of 0 or more space/dot chars. You may need to use something else, depending your internal design.
Hope this helps!
I’m unsure
-
got it, easy to fix, I'll do it right away -
Yup this is because the sign for "no icon" is _, which you don't have. -
Inappropriate?Enrico and I were testing tree pane stuff... He stumbled on a fun entry to make in treepane "data"
...a nice file
I’m amused
-
Inappropriate?Peldi, maybe if you separate the icon styling from the data, I think a lot will be simplified! See my idea here: http://getsatisfaction.com/balsamiq/t...
I’m confident
Loading Profile...




