Cosmetics: Made some primitive support methods static since they are not dependent on the instance, and also due to IntelliJ screaming loud "make those damn methods static!".
Added support for a new .mddoc format and bumped version to 1.2.6.
- Improved identification of lists.
- Added MarkdownReference to documentation.
First checking of editor.
Editor more or less finished.
- Ran CodeLicenseManager on sources to add license header.
- Some cosmetics.
- 2 new icons.
- Fixed bug that stole toolbar and functionality from first window when a second window was opened.
- Code cosmetics.
Temp checkin due to move to balcony computer...
- Added insert image function.
- Fixed bug in settings function that failed to apply settings if no setting file were saved.
- Added InsertLinkFunction.
- SaveFunction now opens save dialog!
- SaveFunction now only shows .md and .markdown files in save dialog.
- Copy, cut, and paste functions have been commented out since JEditorPane seems to handle this itself now.
Refactored configuration so that configs are static, but config changed callbacks are per editor window instance. That is, any change to config will affect all open windows.
Bug fix: When settings window were closed by clicking window close button rather than cancel or save neither of these operations were done. Now it is the same as cancel.
- Added PersistentProps API (available from Editor) for loading and saving properties files under {user home}/.markdownDoc.
- Finished ExportToPDFFunction, which now also saves the latest generation information for reuse the next time. This uses PersistentProps.
- SaveFunction and OpenFunction now also used PersistentProps to save window postition and size on save and reset it on load per filename of edited files.
Saving settings now also saves the window size and position. If there is no known filename at time of settings save, then size and positions is saved as "default" and will thus be loaded and used when a new empty editor window is opened.
Now also exports to html.
- Added support for list bullet indent level change in both directions with tab and shift-tab.
- Ran CodeLicenseManager "apply" to insert/update license header information in source files.
The editor is now packaged as:
- A clickable, executable Jar file.
- A Mac OS X App in a .dmg file.
- Debugged.
- Added editor docs.
- Debugged even more.