diff --git a/editions/tw5.com/tiddlers/VariableFormat.tid b/editions/tw5.com/tiddlers/VariableFormat.tid deleted file mode 100644 index 691e3c04b..000000000 --- a/editions/tw5.com/tiddlers/VariableFormat.tid +++ /dev/null @@ -1,20 +0,0 @@ -created: 20240219185725834 -modified: 20240221012350449 -tags: Features -title: VariableFormat -type: text/vnd.tiddlywiki - -<<.from-version "5.3.4">> - -Finding "self explaining" variable names for functions, procedures, widgets and macros is difficult. So if variables are listed with <<.mlink dumpvariables>>, <<.mlink search-variables>> or from the "Variables" tab in the $:/AdvancedSearch, it's not obvious ''how'' they work and how they are defined. - -The <<.olink variables>> operator returns all "visible" variables from the current context, depending on where the filter run is executed. The <<.olink getvariable>> allows us to return the "text" or the "value" of variables. But this information is not enough to get a good understanding of existing variables. - -So using <<.olink getvariables>> operator in combination with the <<.olink format>> operator we are able to improve information in variable listings. - -|Token |Substituted Value |h -|`$type$` |variabe type eg: `\function`, `\procedure` and so on | -|`$name$` |returns the name of the variable | -|`$params$` |returns a list of parameters, which are defined with functions, procedures ... | -|`$firstLine$` |returns the first line of the variable content-type as used by <<.olink getvariables>> | -|`$varType$` |returns `var`, `fn`, ` proc`, ` macro` or ` widget` which can be used with the <<.olink variables>> operator | diff --git a/editions/tw5.com/tiddlers/flexible-form-styles.tid b/editions/tw5.com/tiddlers/flexible-form-styles.tid deleted file mode 100644 index ef07d7e35..000000000 --- a/editions/tw5.com/tiddlers/flexible-form-styles.tid +++ /dev/null @@ -1,103 +0,0 @@ -title: /core/template/flexible-form/styles -tags: $:/tags/Stylesheet - -.tc-flexible-form { - - overflow: auto; - margin-bottom: 1em; -} -.tc-flexible-checkbox-container { - padding: 4px 3px 3px 3px; - border-bottom: 1px dotted black; - display: grid; - grid-column-gap: 0.3em; - grid-template-columns: 5.3em 3em 3em 4em 4em 5em 5em 8em 8em 1fr; - grid-template-areas: - "t-txt c-fn c-var c-proc c-macro c-widget sel-txt sel-drop ex-btn"; -} - -.tc-flexible-input-container { - padding: 4px 3px 3px 3px; - display: grid; - <% if [get[text]match[show]] %> - grid-row-gap: 0.2em; - <% endif %> - grid-column-gap: 0.3em; - grid-template-columns: 1em 4em 1fr 1.5em 1.5em; - grid-template-areas: - "btn-fld x-txt x-inp btn-x btn-xx" - "btn-fld y-txt y-inp btn-y btn-yy"; -} - -.btn-fld { - <% if [get[text]match[show]] %> - align-self: center; - <% endif %> - padding: 0 2px; - grid-area: btn-fld; -} - -.x-inp { - grid-area: x-inp; -} -.y-inp { - grid-area: y-inp; -} - -.t-txt, -.x-txt, -.y-txt { - text-align: right; -} -.t-txt { - grid-area: t-txt; -} -.x-txt { - grid-area: x-txt; -} -.y-txt { - grid-area: y-txt; -} - -.btn-t { - grid-area: btn-t; -} -.btn-x { - grid-area: btn-x; -} -.btn-y { - grid-area: btn-y; -} - -.btn-xx { - grid-area: btn-xx; -} -.btn-yy { - grid-area: btn-yy; -} - -.c-fn { - grid-area: c-fn; -} -.c-var { - grid-area: c-var; -} -.c-proc { - grid-area: c-proc; -} -.c-macro { - grid-area: c-macro; -} -.c-widget { - grid-area: c-widget; -} -.sel-txt { - text-align: right; - grid-area: sel-txt; -} -.sel-drop { - grid-area: sel-drop; -} -.ex-btn { - grid-area: ex-btn; -} \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/flexible-form.tid b/editions/tw5.com/tiddlers/flexible-form.tid deleted file mode 100644 index d7d317001..000000000 --- a/editions/tw5.com/tiddlers/flexible-form.tid +++ /dev/null @@ -1,209 +0,0 @@ -modified: 20240312123643000 -title: /core/template/flexible-form - -\parameters (sort, type) - -\whitespace trim - -\define FI-VAR-FILTER-OPTIONS() fn var proc macro widget - -\define FI-FOLDED() $:/temp/varFolded -\define FI-SEARCH() $:/temp/varSearch -\define FI-EXCLUDE() $:/temp/varExclude - -\function tf.fi-tmpTypeOptions() [] [] +[join[/]] -\function tf.fi-tmpSortOptions() [] [] +[join[/]] - -\function tf.fi-foldedState() [] [] +[join[/]] - -\function tf.fi-searchText() [] [] +[join[/]] -\function tf.fi-getSearchText() [get[text]] - -\function tf.fi-excludeText() [] [] +[join[/]] -\function tf.fi-getExcludeText() [get[text]] - -\procedure fi-clearSearchButton() -<$button class="tc-btn-invisible btn-x" tooltip=`${ [{$:/language/Search/Variables/Clear}] [{$:/language/Search/Variables/Filter}] +[join[ ]] }$`> - <$action-deletetiddler $tiddler=<>/> - {{$:/core/images/close-button}} - -\end - -\procedure fi-clearExcludeButton() -<$button class="tc-btn-invisible btn-y" tooltip=`${ [{$:/language/Search/Variables/Clear}] [{$:/language/Search/Variables/Exclude}] +[join[ ]] }$`> - <$action-deletetiddler $tiddler=<>/> - {{$:/core/images/close-button}} - -\end - -\procedure fi-search-input-box() -<%if [!is[blank]] %> - sort:<<_tf.fi-sort>> -<%endif%> -<%if [!is[blank]] %> - type:<<_tf.fi-type>> -<%endif%> -<$text text={{$:/language/Search/Variables/Filter}}/> -<$edit-text tiddler=<> tag=input class="x-inp" placeholder="filter variables by name"/> <> -<% if [get[text]match[yes]] %> - <> -<% else %> - <> -<% endif %> -\end - -\procedure fi-exclude-input-box() -<$text text={{$:/language/Search/Variables/Exclude}}/> -<$edit-text tiddler=<> tag=input class="y-inp"/> <> -\end - -\function tf.fi-opt-class() "c" [