GetTxt Method

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:19

Description

Returns the highlighted text content (if there's a selection), or the character after the I-beam (if there is no selection) in the current text.

Syntax

Text.GetTxt

Return value

string

See also

InsTedText, InsText, InsTedTextAt, InsTedXML

Remarks

When you use GetTxt to return a Ted text in a string, this table helps you to identify the parts:

Special character

Appears as

No. of chars

How to search for it in VB.NET ?

Hex

Comment

Tag bracket >

>

1

">"

3e

Be careful, the tag brackets appear the same as the greater than and less than characters.

Tag bracket <

<

1

"<"

3c

Start table ¦

$

2

chr(36) & chr(9)

24 09


Table column

tab

1

chr(9)

09


Last tab row

invis.

3

chr(36) & chr(13) & chr(10)

24 0d 09


Line break ¬

empty line

3

chr(13) & chr(10)

0d 0a


Paragraph break

two empty lines

4

chr(13) & chr(10) & chr(13) & chr(10)

0d 0a 0d 0a


Bell @

$@

2

chr(36) & "@"

24 40


Context

Text designer commands