[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] Re: Inserting snippets



In message <d3a1aeb356.John@xxxxxxxxxxxxxxxxxxxxxx>
          John Rickman <rickman@xxxxxxxxxxxxx> wrote:

> In message <56b302fe7btim@xxxxxxxxx>
>           Tim Hill <tim@xxxxxxxxx> wrote:
> 
> 
> >> The concept exists in lots of text editors... under different names.
> >> It's simply that when editing a set of files there may be a set of
> >> small bits of text that you very often want to insert into that sort of
> >> file.
> 
> > [Snip]
> 
> > And, of course, there are programs independent of editors that can insert
> > specialist 'snippets', such as HTML³.
> 
> StrogMen can be used to do this with the #type command. The snippet 
> identifiers appear in the StrongMen menu. It is useful, but it has 
> limitations. For example it is not good for inserting html tags. In 
> the example below I had to put a space after the less-than to make it 
> accept the string "< blockquote>"

The string is passed through OS_GSTrans so that system variables can be
used. Because of this "<blockquote>" will attempt to insert the value of
the system variable "blockquote".

To get round this problem escape the "<" with "|", ie "|<blockquote>".

Cheers,
Fred.

-- 
StrongED Developer
http://www.stronged.iconbar.com/

-- 
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives at http://diy.Torrens.org/RO/StrongED/index.html