Interface ITextStrings
Represents a collection of strings with extended possibilities.
public interface ITextStrings : IStringListWithItem, IStringList, IList<string>, ICollection<string>, IEnumerable<string>, IEnumerable, ITextExport, IExport, ITextImport, IImport, ITextSearch, ITabulation, IWordBreak, INotify, IUpdate
- Extension Methods
Properties
- DelimTable
When implemented by a class, represents delimiters as a key-and-value pairs collection where each key is a single delimiter character.
- FirstChanged
When implemented by a class, represents index of the first changed line.
- LastChanged
When implemented by a class, represents index of the last changed line.
- Owner
When implemented by a class, gets or set the
TextEditor
control that owns this collection.
- RemoveTrailingSpaces
When implemented by a class, gets or set a boolean value that indicates whether
ITextStrings
should remove trailing spaces from the end of each its strings.
- Source
When implemented by a class, gets the text source owning the
ITextStrings
.
Methods
- AbsolutePositionToTextPoint(int)
When implemented by a class, converts given absolute position to position as Point value.
- AfterSave()
When implemented by a class, performs additional actions after
ITextStrings
saves its content to the file.
- Assign(ITextStrings)
When implemented by a class, copies the contents from another
ITextStrings
object.
- Changed(int)
When implemented by a class, notifies about string state changing.
- Changed(int, int)
When implemented by a class, notifies about string state changing.
- GetCharAt(Point)
When implemented by a class, returns character from specified position.
- GetCharAt(int, int)
When implemented by a class, returns character from specified position.
- GetLength(int)
When implemented by a class, returns length of the string that corresponds to specified item in the collection.
- GetLexStyle(Point)
When implemented by a class, returns lexical style at specified position.
- GetTabString(ref string, ref StringItemInfo[], bool, ITextUndoList)
When implemented by a class, converts all tab character to spaces depending on
TabStops
property.
- SetTextAndData(string, string)
When implemented by a class, sets the text and color data at the same time.
- TextPointToAbsolutePosition(Point)
When implemented by a class, converts given Point value to the absolute position.