| Package | Description |
|---|---|
| xyz.cofe.cxconsole.text |
| Modifier and Type | Field and Description |
|---|---|
protected TextDocument |
DocumentFocusLost.textDocument |
protected TextDocument |
DocumentFocusGained.textDocument |
| Modifier and Type | Field and Description |
|---|---|
protected Queue<xyz.cofe.common.Reciver<TextDocument>> |
TextService.OpenGeneric.docApplyQueue |
protected WeakReference<TextDocument> |
SearchAndReplaceDock.lastDocument |
| Modifier and Type | Method and Description |
|---|---|
TextDocument |
TextService.OpenGeneric.apply() |
TextDocument |
TextDocument.clone() |
TextDocument |
TextService.getActiveTextDocument()
Возвращает текущий (последий который имеел фокус) документ
|
TextDocument |
DocumentFocusLost.getDocument() |
TextDocument |
DocumentFocusGained.getDocument() |
TextDocument |
TextService.openFile(xyz.cofe.io.File file,
Charset cs,
xyz.cofe.text.EndLine endLine)
Открывает текстовый файл для редактирования
|
TextDocument |
TextDocumentFactory.read(TextDocumentLayout layout) |
| Modifier and Type | Method and Description |
|---|---|
DockingService.DockableList<TextDocument> |
TextService.TextDocumentSwitcher.getDocuments() |
DockingService.DockableList<TextDocument> |
TextService.getTextDocumentHistory()
Возвращает историю переключения фокуса документов
|
DockingService.DockableList<TextDocument> |
TextService.getTextDocuments()
Возвращает список документов, отсортированный в обратном порядке переключения фокуса
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
TextService.addRecentTextFile(TextDocument doc,
xyz.cofe.io.File file,
Charset cs)
Отмечает недавно открытые/сохраненный файлы
|
protected void |
TextService.OpenGeneric.apply(TextDocument tdoc) |
void |
TextService.onTextDocumentChanged(TextDocument doc) |
void |
TextService.onTextDocumentCloned(TextDocument tdoc,
TextDocument original)
Уведомление о клонировании документа
|
void |
TextService.onTextDocumentClosed(TextDocument tdoc)
Уведомление о закрытии документа
|
void |
TextService.onTextDocumentCreated(TextDocument tdoc)
Уведомление о создании документа
|
void |
TextService.onTextDocumentFocusGained(TextDocument tdoc)
Уведомление о получении фокуса текстовым документом
|
void |
TextService.onTextDocumentFocusLost(TextDocument tdoc) |
void |
TextService.onTextDocumentOpened(TextDocument doc,
xyz.cofe.io.File file,
Charset cs)
Уведомление о сохранении документа
|
void |
TextService.onTextDocumentSaved(TextDocument doc,
xyz.cofe.io.File file,
Charset cs)
Уведомление о сохранении документа
|
void |
TextService.TextDocumentSwitcher.switchTo(TextDocument tdoc) |
| Modifier and Type | Method and Description |
|---|---|
T |
TextService.OpenGeneric.apply(xyz.cofe.common.Reciver<TextDocument> rcv) |
void |
TextDocument.restore(xyz.cofe.common.Reciver<TextDocument> textdoc) |
void |
TextDocument.restore(xyz.cofe.common.Reciver<TextDocument> textdoc,
boolean fireEvent) |
void |
TextService.TextDocumentSwitcher.setDocuments(DockingService.DockableList<TextDocument> documents) |
| Constructor and Description |
|---|
DocumentFocusGained(TextDocument textDoc) |
DocumentFocusLost(TextDocument textDoc) |
TextDocument(TextDocument sample) |
| Constructor and Description |
|---|
TextDocumentSwitcher(Window mainWindow,
DockingService.DockableList<TextDocument> documents) |
Copyright © 2019. All rights reserved.