Snippets

Snippets are used by autocomplete and have 6 files, ObjectScript.txt, ObjectStyle.txt, SnippetHtml.txt, SnippetStyle.txt, SnippetJs.txt, SnippetVb.txt. These files are located in folder C:\Users\[username]\Documents\Cato Saelid\Simple Html to Nws\Snippets

ObjectScript

How to build up a script object:
body
body.accessKey
body.addBehavior
body.addFilter
body.aLink
body.all
body.appendChild
body.applyElement
body.attachEvent
body.attributes
body.background
body.behaviorUrns
body.bgColor

ObjectStyle

Sample on how to build up a style objects:
background-blend-mode
background-blend-mode: normal
background-blend-mode: multiply
background-blend-mode: screen
background-blend-mode: overlay
background-blend-mode: darken
background-blend-mode: lighten
background-blend-mode: color-dodge
background-blend-mode: saturation
background-blend-mode: color
background-blend-mode: luminosity
background-clip: border-box
background-clip: padding-box
background-clip: content-box
background-clip: initial
background-clip: inherit

SnippetHtml

Each html snippet start with this line <snippet>
Use char ^ where you want to have the caret position after snippet are inserted.
Sample bellow show 3 snippets.

<snippet>
<Meta content="text/html; charset=iso-8859-1" http-equiv=Content-Type >

<snippet>
<img src="^" >

<snippet>
<HTML xmlns:v = "urn:schemas-microsoft-com:vml">
<HEAD>
<!-- Add the following meta tag to allow viewing in IE. -->
<META content=ie=6 http-equiv=x-ua-compatible>
<STYLE>
v\:* {BEHAVIOR: url(#default#VML)} </STYLE>
</HEAD>
<BODY dir=ltr scroll=no>
^
</BODY>
</HTML>

SnippetStyle

Each style snippet start with this line <snippet>
Use char ^ where you want to have the caret position after snippet are inserted.
Sample bellow show 1 snippet.


<snippet>
.txt {
padding:15;
overflow-y:auto;
color: #c01040;
FONT: ^12pt 'Verdana';
border: 3px #ff1050 inset;
scrollbar-3d-light-color:#ff0000;
scrollbar-arrow-color:#ff0000;
scrollbar-base-color:#400000;
scrollbar-dark-shadow-color:#531810;
scrollbar-face-color:#800008;
scrollbar-highlight-color:#ff0000;
scrollbar-shadow-color:#531810;
scrollbar-track-color:#531810;
}

SnippetJs

Each JavaScript (js) snippet start with this line <snippet>
Use char ^ where you want to have the caret position after snippet are inserted.
Sample bellow show 1 snippet.


<snippet>
if(^){

} else if() {

} else {

}

SnippetVb

Each VBScript snippet start with this line <snippet>
Use char ^ where you want to have the caret position after snippet are inserted.


<snippet>
With ^

End With