InsSpecialChar Method

Build 1501 on 14/Nov/2017  This topic last edited on: 27/Sep/2016, at 12:24

Description

Inserts a special character at cursor position.

Syntax

Text.InsSpecialChar (int1)

int1        

Bell = inserts the Bell character @.

HardRet = inserts an end-of-paragraph sign ¶.

Ret = inserts a soft return character ¬.

Tab = inserts a tabulation character »,

StartTab = inserts the start of a tabulated line ¦

LastStartTab = inserts the start of a last tabulated line \

HTMLTag = inserts left and right brackets for HTML commands - it is anyway recommended to use InsExtCmd function instead.

HardRetNC = inserts and end-of-paragraph ¶ without triggering chained styles.

Note: the above constants are read from Tera library script, with following values.

Code

Meaning

Value

In text


StartTab ¦

Start of tabulation

5

chr(4)


Ret ¬

Line break

3

chr(5)


HardRet ¶

Paragraph break

2

chr(6)


Bell @

Bell

1

chr(7)


LastStartTab \

LastTab row

8

chr(8)


Tab »

Tabulation column

4

chr(9)


HTMLTag

Start and end HTML braces

6



HardRetNC ¶

Paragraph break with no triggering of chained styles

7



Return value

Error code

See also

InsTedText Method, InsTedTextAt Method, InsTedXMLAt Method, InsTedXML Method

Context

Text designer commands