Hi again, I've just thought of a place where a newline does matter.

I've added a button on the editor for "Indent" - it will make the selected 
lines indented. Note that the prefix and suffix entries have a new line 
there. This means that the selected lines have the indent <div> inserted in 
the line above and the </div> on the line below. See code snippit at end of 
message.

I think newlines matter when you're passing arguments to functions - but 
don't matter in they are between functions, as the example you provided 
shows.

<$action-sendmessage
    $message="tm-edit-text-operation"
    $param="wrap-selection"
    prefix="<div style='padding-left: 40px;'>
"
    suffix="
<div>"
/>





On Thursday, 6 September 2018 13:10:05 UTC+1, SpennyMcRinghoj wrote:
>
> Hi,
>
> I think there might be spacing just to make things clearer to a new user. 
> I don't think in the example you show, there would be any difference in the 
> functionality.
>
> On Wednesday, 5 September 2018 15:17:53 UTC+1, Mohammad wrote:
>>
>> How important is blank line in TW? and Where we should use it?
>> Look at 
>>
>>    - 
>>    
>> https://tiddlywiki.com/prerelease/#Adding%20a%20table%20of%20contents%20to%20the%20sidebar
>>    - https://groups.google.com/d/msg/tiddlywiki/2OqPMZwIYGk/b4nj1p2qBAAJ
>>    
>>
>> In the first case why tiddlywiki.com recommend extra blank lines as 
>> below:
>>
>>
>> <div class="tc-table-of-contents">
>>
>> <<toc-selective-expandable 'TableOfContents'>>
>>
>> </div>
>>
>>
>> Why it does not use the below code
>>
>> <div class="tc-table-of-contents">
>> <<toc-selective-expandable 'TableOfContents'>>
>> </div>
>>
>>
>>
>> There are many other cases in tiddlywiki.com
>>
>> Mohammad
>>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3f595e9a-0cec-4f6c-8ff2-971385c1ce01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to