| Modifier and Type | Field and Description |
|---|---|
| private final BibDatabaseContext | |
| private final FilePreferences | |
| private final FlexmarkHtmlConverter | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | MarkdownEditor(Field field, SuggestionProvider<?> suggestionProvider, FieldCheckers fieldCheckers, GuiPreferences preferences, UndoManager undoManager, UndoAction undoAction, RedoAction redoAction, BibDatabaseContext bibDatabaseContext)
|
| Modifier and Type | Method and Description |
|---|---|
| protected TextInputControl | |
| private void | |
| private void | |
| private boolean | Returns: true if the Markdown Text was inserted, false otherwiseis the file that is dropped into the editor file, EditorTextArea is the Editor text area textArea)Inserts Markdown Link for a file dropped into the editor, copying file to the database file directory if necessary |
| private boolean | |
| private void | |
| public void | |
| private void |
| databaseContext | back to summary |
|---|---|
| private final BibDatabaseContext databaseContext | |
| filePreferences | back to summary |
|---|---|
| private final FilePreferences filePreferences | |
| flexmarkHtmlConverter | back to summary |
|---|---|
| private final FlexmarkHtmlConverter flexmarkHtmlConverter | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| MarkdownEditor | back to summary |
|---|---|
| public MarkdownEditor(Field field, SuggestionProvider<?> suggestionProvider, FieldCheckers fieldCheckers, GuiPreferences preferences, UndoManager undoManager, UndoAction undoAction, RedoAction redoAction, BibDatabaseContext bibDatabaseContext) | |
| createTextInputControl | back to summary |
|---|---|
| protected TextInputControl createTextInputControl(Field field) Overrides org.
| |
| enableDragDrop | back to summary |
|---|---|
| private void enableDragDrop(EditorTextArea textArea) | |
| enableDragOver | back to summary |
|---|---|
| private void enableDragOver(EditorTextArea textArea) | |
| insertFileToLibraryAndAppend | back to summary |
|---|---|
| private boolean insertFileToLibraryAndAppend(File file, EditorTextArea textArea) Inserts Markdown Link for a file dropped into the editor, copying file to the database file directory if necessary
| |
| insertImageToDbAndAppend | back to summary |
|---|---|
| private boolean insertImageToDbAndAppend(String imageUrl, EditorTextArea textArea) | |
| insertMarkdownText | back to summary |
|---|---|
| private void insertMarkdownText(String relativePath, EditorTextArea textArea) | |
| setEditable | back to summary |
|---|---|
| public void setEditable(boolean isEditable) | |
| setUpDragDrop | back to summary |
|---|---|
| private void setUpDragDrop() | |