The functions of the editing window.
| C# | Visual Basic | Visual C++ |
public interface IQueryEditor : IPerformTask, IFindReplaceProvider, INavigatableDocument, ISupportCursorOffset, IQueryBatchProvider, IEditor
Public Interface IQueryEditor _ Implements IPerformTask, IFindReplaceProvider, INavigatableDocument, ISupportCursorOffset, _ IQueryBatchProvider, IEditor
public interface class IQueryEditor : IPerformTask, IFindReplaceProvider, INavigatableDocument, ISupportCursorOffset, IQueryBatchProvider, IEditor
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| AllText |
The contetnts of the editor.
(Inherited from IEditor.) | |
| Batch |
Gets a reference to the batch.
(Inherited from IQueryBatchProvider.) | |
| CancelTask()()() |
Cancels the current task.
(Inherited from IPerformTask.) | |
| CanReplaceText |
True if the text can be replaced, otherwise false.
(Inherited from IFindReplaceProvider.) | |
| ClearSelection()()() |
Clears the selection (deletes selected text if any).
(Inherited from IEditor.) | |
| CursorColumn |
The current column the cursor is in.
(Inherited from INavigatableDocument.) | |
| CursorLine |
The current line the cursor is on.
(Inherited from INavigatableDocument.) | |
| CursorOffset |
Gets the cursor offset.
(Inherited from ISupportCursorOffset.) | |
| EditorControl |
Provides access to the actual editor control.
| |
| ExecuteTask()()() |
Executes the current task.
(Inherited from IPerformTask.) | |
| FileFilter |
Gets the file filter for this editor (e.g. "SQL Files (*.sql)|*.sql|All Files (*.*)|*.*").
(Inherited from IEditor.) | |
| FileName |
The filename of the docuemnt being edited (can be null, as in not saved yet).
(Inherited from IEditor.) | |
| FindString(String, Int32, StringComparison) |
Attemps to find value in the controls text.
(Inherited from IFindReplaceProvider.) | |
| HighlightString(Int32, Int32) |
Highlights the string starting at offset for length characters.
(Inherited from IEditor.) | |
| InsertText(String) |
Inserts text at the current cursor position (selected text is overwritten).
(Inherited from IEditor.) | |
| IsBusy |
True if a task is being executed.
(Inherited from IPerformTask.) | |
| IsDirty |
True if the document has unsaved changes.
(Inherited from IEditor.) | |
| LoadFile()()() |
Loads the file by the path in FileName.
(Inherited from IEditor.) | |
| ReplaceString(String, Int32, Int32) |
Replaces the text from startIndex for length characters
with value.
(Inherited from IFindReplaceProvider.) | |
| SaveFile()()() |
Saves the file by the path in FileName.
(Inherited from IEditor.) | |
| SelectedText |
The currently selected text (if any) in the editor.
(Inherited from IEditor.) | |
| SetCursorByLocation(Int32, Int32) |
Sets the cursor by line and column.
(Inherited from INavigatableDocument.) | |
| SetCursorByOffset(Int32) |
Sets the cursor position by offset.
(Inherited from INavigatableDocument.) | |
| SetStatus(String) |
Sets the "status" text for the form.
| |
| SetSyntax(String) |
Sets the syntax mode off the editor.
(Inherited from IEditor.) | |
| SetTextFindService(ITextFindService) |
Overrides the default text find service with textFindService (e.g. a RegEx service).
(Inherited from IFindReplaceProvider.) | |
| TextFindService |
A text finding service.
(Inherited from IFindReplaceProvider.) | |
| TotalLines |
Gets the total number of lines in the editor.
(Inherited from INavigatableDocument.) |