Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Renamed project to Scrivendor. Isolated most hardcoded references of package names to common area.

Authordjarvis <email>
Date2016-10-18 18:01:34 GMT-0700
Commit8706ca5849e2cb37655b9de985590f3863268396
Parentdf6f319
Delta0 lines added, 578 lines removed, 578-line decrease
src/main/resources/org/markdownwriterfx/preview/markdownpad-github.css
-/*
-This software is released under the MIT license:
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-*/
-
-/* Source: https://github.com/nicolashery/markdownpad-github */
-
-/* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */
-
-/* RESET
-=============================================================================*/
-
-html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
- margin: 0;
- padding: 0;
- border: 0;
-}
-
-/* BODY
-=============================================================================*/
-
-body {
- font-family: Helvetica, arial, freesans, clean, sans-serif;
- font-size: 14px;
- line-height: 1.6;
- color: #333;
- background-color: #fff;
- padding: 20px;
- max-width: 960px;
- margin: 0 auto;
-}
-
-body>*:first-child {
- margin-top: 0 !important;
-}
-
-body>*:last-child {
- margin-bottom: 0 !important;
-}
-
-/* BLOCKS
-=============================================================================*/
-
-p, blockquote, ul, ol, dl, table, pre {
- margin: 15px 0;
-}
-
-/* HEADERS
-=============================================================================*/
-
-h1, h2, h3, h4, h5, h6 {
- margin: 20px 0 10px;
- padding: 0;
- font-weight: bold;
- -webkit-font-smoothing: antialiased;
-}
-
-h1 tt, h1 code, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {
- font-size: inherit;
-}
-
-h1 {
- font-size: 28px;
- color: #000;
-}
-
-h2 {
- font-size: 24px;
- border-bottom: 1px solid #ccc;
- color: #000;
-}
-
-h3 {
- font-size: 18px;
-}
-
-h4 {
- font-size: 16px;
-}
-
-h5 {
- font-size: 14px;
-}
-
-h6 {
- color: #777;
- font-size: 14px;
-}
-
-body>h2:first-child, body>h1:first-child, body>h1:first-child+h2, body>h3:first-child, body>h4:first-child, body>h5:first-child, body>h6:first-child {
- margin-top: 0;
- padding-top: 0;
-}
-
-a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {
- margin-top: 0;
- padding-top: 0;
-}
-
-h1+p, h2+p, h3+p, h4+p, h5+p, h6+p {
- margin-top: 10px;
-}
-
-/* LINKS
-=============================================================================*/
-
-a {
- color: #4183C4;
- text-decoration: none;
-}
-
-a:hover {
- text-decoration: underline;
-}
-
-/* LISTS
-=============================================================================*/
-
-ul, ol {
- padding-left: 30px;
-}
-
-ul li > :first-child,
-ol li > :first-child,
-ul li ul:first-of-type,
-ol li ol:first-of-type,
-ul li ol:first-of-type,
-ol li ul:first-of-type {
- margin-top: 0px;
-}
-
-ul ul, ul ol, ol ol, ol ul {
- margin-bottom: 0;
-}
-
-dl {
- padding: 0;
-}
-
-dl dt {
- font-size: 14px;
- font-weight: bold;
- font-style: italic;
- padding: 0;
- margin: 15px 0 5px;
-}
-
-dl dt:first-child {
- padding: 0;
-}
-
-dl dt>:first-child {
- margin-top: 0px;
-}
-
-dl dt>:last-child {
- margin-bottom: 0px;
-}
-
-dl dd {
- margin: 0 0 15px;
- padding: 0 15px;
-}
-
-dl dd>:first-child {
- margin-top: 0px;
-}
-
-dl dd>:last-child {
- margin-bottom: 0px;
-}
-
-/* CODE
-=============================================================================*/
-
-pre, code, tt {
- font-size: 12px;
- font-family: Consolas, "Liberation Mono", Courier, monospace;
-}
-
-code, tt {
- margin: 0 0px;
- padding: 0px 0px;
- white-space: nowrap;
- border: 1px solid #eaeaea;
- background-color: #f8f8f8;
- border-radius: 3px;
-}
-
-pre>code {
- margin: 0;
- padding: 0;
- white-space: pre;
- border: none;
- background: transparent;
-}
-
-pre {
- background-color: #f8f8f8;
- border: 1px solid #ccc;
- font-size: 13px;
- line-height: 19px;
- overflow: auto;
- padding: 6px 10px;
- border-radius: 3px;
-}
-
-pre code, pre tt {
- background-color: transparent;
- border: none;
-}
-
-kbd {
- -moz-border-bottom-colors: none;
- -moz-border-left-colors: none;
- -moz-border-right-colors: none;
- -moz-border-top-colors: none;
- background-color: #DDDDDD;
- background-image: linear-gradient(#F1F1F1, #DDDDDD);
- background-repeat: repeat-x;
- border-color: #DDDDDD #CCCCCC #CCCCCC #DDDDDD;
- border-image: none;
- border-radius: 2px 2px 2px 2px;
- border-style: solid;
- border-width: 1px;
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
- line-height: 10px;
- padding: 1px 4px;
-}
-
-/* QUOTES
-=============================================================================*/
-
-blockquote {
- border-left: 4px solid #DDD;
- padding: 0 15px;
- color: #777;
-}
-
-blockquote>:first-child {
- margin-top: 0px;
-}
-
-blockquote>:last-child {
- margin-bottom: 0px;
-}
-
-/* HORIZONTAL RULES
-=============================================================================*/
-
-hr {
- clear: both;
- margin: 15px 0;
- height: 0px;
- overflow: hidden;
- border: none;
- background: transparent;
- border-bottom: 4px solid #ddd;
- padding: 0;
-}
-
-/* TABLES
-=============================================================================*/
-
-table th {
- font-weight: bold;
-}
-
-table th, table td {
- border: 1px solid #ccc;
- padding: 6px 13px;
-}
-
-table tr {
- border-top: 1px solid #ccc;
- background-color: #fff;
-}
-
-table tr:nth-child(2n) {
- background-color: #f8f8f8;
-}
-
-/* IMAGES
-=============================================================================*/
-
-img {
- max-width: 100%
-}
src/main/resources/org/markdownwriterfx/markdownwriter.svg
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- id="svg2"
- version="1.1"
- inkscape:version="0.91 r13725"
- width="216.8434"
- height="175.75342"
- viewBox="0 0 216.8434 175.75342"
- sodipodi:docname="markdownwriter.svg">
- <metadata
- id="metadata8">
- <rdf:RDF>
- <cc:Work
- rdf:about="">
- <dc:format>image/svg+xml</dc:format>
- <dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
- </cc:Work>
- </rdf:RDF>
- </metadata>
- <defs
- id="defs6" />
- <sodipodi:namedview
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1"
- objecttolerance="10"
- gridtolerance="10"
- guidetolerance="10"
- inkscape:pageopacity="0"
- inkscape:pageshadow="2"
- inkscape:window-width="640"
- inkscape:window-height="480"
- id="namedview4"
- showgrid="false"
- fit-margin-top="0"
- fit-margin-left="0"
- fit-margin-right="0"
- fit-margin-bottom="0"
- inkscape:zoom="2.0536546"
- inkscape:cx="108.34758"
- inkscape:cy="22.757835"
- inkscape:current-layer="svg2" />
- <path
- style="fill:none;stroke:#ce6200;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="m 2,2 0,57 0,57 15.5,0 15.5,0 0,-29.09375 0,-29.091797 10.08594,12.091797 C 48.63273,76.55764 53.3186,82 53.5,82 53.68141,82 58.36922,76.55764 63.91602,69.90625 L 74,57.814453 74,86.90625 74.00005,116 89.5,116 105.00005,116 105,59 105,2 93.51367,2 82.02735,2 68.08985,20.558594 C 60.42489,30.765224 53.85924,39.115234 53.5,39.115234 c -0.35923,0 -6.92292,-8.35001 -14.58789,-18.55664 L 24.97461,2 13.48828,2 Z"
- id="path4748"
- inkscape:connector-curvature="0" />
- <path
- style="fill:none;stroke:#ce6200;stroke-width:4.54662943;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="m 74.11683,122.71467 0,8.64435 -19.21418,0 14.35129,17.8481 10.11965,12.13655 10.45288,12.13655 10.45092,-12.13655 10.12161,-12.13655 14.35129,-17.8481 -19.52377,0 0,-8.64435 -15.40005,0 z"
- id="path4142"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="ccccccccccccc" />
- <path
- style="fill:none;stroke:#ce6200;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
- d="m 111.8434,59.000611 0,-56.9999998 15.48466,0 15.48467,0 0.26533,28.5734998 0.26534,28.5735 9.80795,-11.59671 c 5.39437,-6.37818 10.20191,-11.35321 10.68344,-11.05562 0.48152,0.2976 5.06794,5.52547 10.19205,11.6175 l 9.31656,11.07641 0.26534,-28.59429 0.26533,-28.5942898 15.48467,0 15.48466,0 0,56.9999998 0,56.999999 -11.51995,0 -11.51994,0 -13.56478,-18.249999 c -7.46063,-10.0375 -13.89825,-18.59909 -14.30582,-19.02576 -0.40756,-0.42667 -7.10725,7.78583 -14.88819,18.25 l -14.14716,19.025759 -11.52708,0 -11.52708,0 z"
- id="path4138"
- inkscape:connector-curvature="0" />
-</svg>
src/main/resources/org/markdownwriterfx/markdownwriterfx128.png
Binary files differ
src/main/resources/org/markdownwriterfx/markdownwriterfx16.png
Binary files differ
src/main/resources/org/markdownwriterfx/markdownwriterfx256.png
Binary files differ
src/main/resources/org/markdownwriterfx/markdownwriterfx32.png
Binary files differ
src/main/resources/org/markdownwriterfx/markdownwriterfx512.png
Binary files differ
src/main/resources/org/markdownwriterfx/messages.properties
-#
-# Copyright (c) 2016 Karl Tauber <karl at jformdesigner dot com>
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-
-#---- Application ----
-
-# The application title should exist only once in the entire code base.
-# All other references should either refer to this value via the Messages
-# class, or indirectly using ${Application.title}.
-Application.title=Scrivendor
-
-#---- MainWindow ----
-
-MainWindow.fileMenu=_File
-MainWindow.fileNewAction=New
-MainWindow.fileOpenAction=Open...
-MainWindow.fileCloseAction=Close
-MainWindow.fileCloseAllAction=Close All
-MainWindow.fileSaveAction=Save
-MainWindow.fileSaveAllAction=Save All
-MainWindow.fileExitAction=Exit
-
-MainWindow.editMenu=_Edit
-MainWindow.editUndoAction=Undo
-MainWindow.editRedoAction=Redo
-
-MainWindow.insertMenu=_Insert
-MainWindow.insertBoldAction=Bold
-MainWindow.insertItalicAction=Italic
-MainWindow.insertStrikethroughAction=Strikethrough
-MainWindow.insertBlockquoteAction=Blockquote
-MainWindow.insertCodeAction=Inline Code
-MainWindow.insertFencedCodeBlockAction=Fenced Code Block
-MainWindow.insertFencedCodeBlockText=enter code here
-MainWindow.insertLinkAction=Link...
-MainWindow.insertImageAction=Image...
-MainWindow.insertHeader1Action=Header 1
-MainWindow.insertHeader1Text=header 1
-MainWindow.insertHeader2Action=Header 2
-MainWindow.insertHeader2Text=header 2
-MainWindow.insertHeader3Action=Header 3
-MainWindow.insertHeader3Text=header 3
-MainWindow.insertHeader4Action=Header 4
-MainWindow.insertHeader4Text=header 4
-MainWindow.insertHeader5Action=Header 5
-MainWindow.insertHeader5Text=header 5
-MainWindow.insertHeader6Action=Header 6
-MainWindow.insertHeader6Text=header 6
-MainWindow.insertUnorderedListAction=Unordered List
-MainWindow.insertOrderedListAction=Ordered List
-MainWindow.insertHorizontalRuleAction=Horizontal Rule
-
-MainWindow.toolsMenu=_Tools
-MainWindow.toolsOptionsAction=Options
-
-MainWindow.helpMenu=_Help
-MainWindow.helpAboutAction=About ${Application.title}
-
-MainWindow.about.title=_About
-MainWindow.about.headerText=${Application.title}
-MainWindow.about.contentText=Copyright 2016 White Magic Software, Ltd.
-
-#---- FileEditor ----
-
-FileEditor.untitled=Untitled
-FileEditor.loadFailed.message=Failed to load ''{0}''.\n\nReason: {1}
-FileEditor.loadFailed.title=Load
-FileEditor.saveFailed.message=Failed to save ''{0}''.\n\nReason: {1}
-FileEditor.saveFailed.title=Save
-
-
-#---- FileEditorTabPane ----
-
-FileEditorTabPane.openChooser.title=Open Markdown File
-FileEditorTabPane.saveChooser.title=Save Markdown File
-FileEditorTabPane.closeAlert.message=''{0}'' has been modified. Save changes?
-FileEditorTabPane.closeAlert.title=Close
-FileEditorTabPane.chooser.markdownFilesFilter=Markdown Files
-FileEditorTabPane.chooser.allFilesFilter=All Files
-
-
-#==== Controls ================================================================
-
-#---- BrowseDirectoryButton ----
-
-BrowseDirectoryButton.tooltip=Browse for local folder
-BrowseDirectoryButton.chooser.title=Browse for local folder
-
-
-#---- BrowseFileButton ----
-
-BrowseFileButton.tooltip=Browse for local file
-BrowseFileButton.chooser.title=Browse for local file
-BrowseFileButton.chooser.allFilesFilter=All Files
-
-
-#==== Dialogs =================================================================
-
-#---- ImageDialog ----
-
-ImageDialog.title=Image
-ImageDialog.chooser.imagesFilter=Images
-ImageDialog.previewLabel.text=Markdown Preview\:
-ImageDialog.textLabel.text=Alternate Text\:
-ImageDialog.titleLabel.text=Title (tooltip)\:
-ImageDialog.urlLabel.text=Image URL\:
-
-
-#---- LinkDialog ----
-
-LinkDialog.title=Link
-LinkDialog.previewLabel.text=Markdown Preview\:
-LinkDialog.textLabel.text=Link Text\:
-LinkDialog.titleLabel.text=Title (tooltip)\:
-LinkDialog.urlLabel.text=Link URL\:
-
-
-#==== Options =================================================================
-
-#---- OptionsDialog ----
-
-OptionsDialog.title=Options
-OptionsDialog.generalTab.text=General
-OptionsDialog.markdownTab.text=Markdown
-
-
-#---- GeneralOptionsPane ----
-
-GeneralOptionsPane.encodingLabel.text=En_coding\:
-GeneralOptionsPane.lineSeparatorLabel.text=_Line separator\:
-GeneralOptionsPane.lineSeparatorLabel2.text=(applies to new files only)
-GeneralOptionsPane.showWhitespaceCheckBox.text=Show _Whitespace Characters
-
-GeneralOptionsPane.platformDefault=Platform Default ({0})
-GeneralOptionsPane.sepWindows=Windows (CRLF)
-GeneralOptionsPane.sepUnix=Unix (LF)
-
-
-#---- MarkdownOptionsPane ----
-
-MarkdownOptionsPane.abbreviationsExtCheckBox.text=A_bbreviations in the way of
-MarkdownOptionsPane.abbreviationsExtLink.text=Markdown Extra
-MarkdownOptionsPane.anchorlinksExtCheckBox.text=_Anchor links in headers
-MarkdownOptionsPane.atxHeaderSpaceExtCheckBox.text=Requires a space char after Atx \# header prefixes, so that \#dasdsdaf is not a header
-MarkdownOptionsPane.autolinksExtCheckBox.text=_Plain (undelimited) autolinks in the way of
-MarkdownOptionsPane.autolinksExtLink.text=Github-flavoured-Markdown
-MarkdownOptionsPane.definitionListsExtCheckBox.text=_Definition lists in the way of
-MarkdownOptionsPane.definitionListsExtLink.text=Markdown Extra
-MarkdownOptionsPane.extAnchorLinksExtCheckBox.text=Generate anchor links for headers using complete contents of the header
-MarkdownOptionsPane.fencedCodeBlocksExtCheckBox.text=_Fenced Code Blocks in the way of
-MarkdownOptionsPane.fencedCodeBlocksExtLabel.text=or
-MarkdownOptionsPane.fencedCodeBlocksExtLink.text=Markdown Extra
-MarkdownOptionsPane.fencedCodeBlocksExtLink2.text=Github-flavoured-Markdown
-MarkdownOptionsPane.forceListItemParaExtCheckBox.text=Force List and Definition Paragraph wrapping if it includes more than just a single paragraph
-MarkdownOptionsPane.hardwrapsExtCheckBox.text=_Newlines in paragraph-like content as real line breaks, see
-MarkdownOptionsPane.hardwrapsExtLink.text=Github-flavoured-Markdown
-MarkdownOptionsPane.quotesExtCheckBox.text=Beautify single _quotes, double quotes and double angle quotes (\u00ab and \u00bb)
-MarkdownOptionsPane.relaxedHrRulesExtCheckBox.text=Allow horizontal rules without a blank line following them
-MarkdownOptionsPane.smartsExtCheckBox.text=Beautify apostrophes, _ellipses ("..." and ". . .") and dashes ("--" and "---")
-MarkdownOptionsPane.strikethroughExtCheckBox.text=_Strikethrough
-MarkdownOptionsPane.suppressHtmlBlocksExtCheckBox.text=Suppress the _output of HTML blocks
-MarkdownOptionsPane.suppressInlineHtmlExtCheckBox.text=Suppress the o_utput of inline HTML elements
-MarkdownOptionsPane.tablesExtCheckBox.text=_Tables similar to
-MarkdownOptionsPane.tablesExtLabel.text=(like
-MarkdownOptionsPane.tablesExtLabel2.text=tables, but with colspan support)
-MarkdownOptionsPane.tablesExtLink.text=MultiMarkdown
-MarkdownOptionsPane.tablesExtLink2.text=Markdown Extra
-MarkdownOptionsPane.taskListItemsExtCheckBox.text=GitHub style task list items
-MarkdownOptionsPane.wikilinksExtCheckBox.text=_Wiki-style links ("[[wiki link]]")
-
-
-#===== preview ================================================================
-
-#---- MarkdownPreviewPane ----
-
-MarkdownPreviewPane.astTab=Markdown AST
-MarkdownPreviewPane.htmlSourceTab=HTML Source
-MarkdownPreviewPane.webViewTab=Preview
src/main/resources/org/markdownwriterfx/settings.properties
-# Comma-separated list of markdown filename extensions.
-application.extensions.markdown=*.Rmd,*.md,*.txt,*.markdown
-application.extensions.all=*.*