The march towards a helpful editor for railroad diagrams:
[image: Screenshot 2023-06-25 2.17.33 PM.png]
On Sunday, June 25, 2023 at 12:37:03 PM UTC-3 Charlie Veniot wrote:
> Next: editor buttons for the railroad diagram. Because who wants to type
> in all of that notation bleurk...
--
You re
Added a "wrap selection" button:
```
.wide100 {width:100%}
.bspace {margin-bottom:-18px;}
.btn {font-weight:bold;font-size:0.85em;}
<$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfig"
tag="textarea">
Multi-line Edit Toolbar
This space does not have to be just for button
Added an "insert text" button:
```
.wide100 {width:100%}
.bspace {margin-bottom:-18px;}
.btn {font-weight:bold;font-size:0.85em;}
<$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfig"
tag="textarea">
Multi-line Edit Toolbar
This space does not have to be just for buttons.
Sample code:
*(If viewing the code below in Google Groups, ignore the leading and
trailing backticks; those are just to keep the code "unprocessed" at Talk
TW.)*
```
.wide100 {width:100%}
.bspace {margin-bottom:-18px;}
<$edit-text class="wide100 bspace" tiddler="AppSettings" field="myconfi
Next: editor buttons for the railroad diagram. Because who wants to type
in all of that notation bleurk...
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to tiddly
Iterative and incremental tweaking. Refining requirements in a "paint the
picture and ask: is this what you mean? No, then tweak and repeat" process.
Come to realize looking at that last syntax diagram: nah, I want this chunk
to be optional. So tweak:
[image: Screenshot 2023-06-25 12.21.38 PM
Unsatisfied. The tweak:
```
<$list filter="""[split[/"BR"/]]""" counter=index>
match[1]else[margin-left:100px;]]}}}>split[PAD"/]first[]split[/"]last[]else[0]] [[px;]]
+[join[]] }}}><$railroad text={{{
[search-replace:g:regexp,[]] }}}/>
```
[image: Screenshot 2023-06-25 11.05.16 AM.png]
On Sa
7 matches
Mail list logo