-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/goto line #113
Closed
Closed
Feature/goto line #113
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Improve interaction between the CSS for HTML and the CSS for the code syntax highlighting.
Remove the javascript for the scrollbar synchronization from the default HTML template. Instead the code is added to the HTML by the HtmlPreviewGenerator class. Issue #49
* Moved shortcuts from C++ to ui file * Added icons for "Insert Table" and "Insert Image" menu items
Add a new value type struct for a snippet.
Add the new class SnippetRepository for the management of snippets.
Add the new class SnippetCompleter. This class provides autocompletion in the markdown editor for the snippets contained in the SnippetRepository.
Add autocompletion support for snippets to the MarkdownEditor class using SnippetCompleter and SnippetRepository.
Add a new JSON file with a first cut of the built-in snippets.
Move the management of the SnippetRepository instance from MarkdownEditor to MainWindow.
Add default constructor to initialize values and a new method to set the snippet content and find/remove the cursor position marker.
* emit dataChanged() signal * return index of added snippet in addSnippet() * add method to set content of a snippet * add method that returns the snippet count
Add new page to the options dialog for the maintenance (add, edit, remove) of user-defined snippets.
Add static method to Snippet to convert it to a QJsonObject.
Add support for loading & saving user-defined snippets in a JSON file.
Created a new directory '3rdparty' for modules from external sources. Moved the git submodule discount to this new directory.
Conflicts: 3rdparty/hunspell app/app.pro
Add support for %clipboard variable in snippets. When the snippet is inserted into the markdown document, the %clipboard variable is replaced with the current clipboard content.
Add option to the UI to control the superscript extension of the discount library.
Add static library for the parts of the application that should be tested by unit, integration or end-to-end test. Move Snippet struct to this new library.
Add a operator<() to Snippet struct.
Add an unit test for the Snippet struct.
Add action to editor context menu for adding the current word to the user dictionary. New methods in SpellChecker class to load & save the user dictionary.
Moved Dictionary class to app-static library and added first simple unit test.
Make path to the built-in snippets resource translatable. This allows to provide a version of the snippets with translated descriptions.
Add japanese translation. Thank you touyou!
Renamed "Show Hard Linebreaks" option to "Show Special Characters" option that now displays all special characters - like tabs and spaces - in the markdown editor.
use QStackedWidget instead of multiple QSplitter childrens for the web and HTML source views. This also makes the code for the splitter handling in MainWindow simpler.
Calculate the delay of the HTML processing based on the number of characters in the markdown document instead of a hardcode value of 100 ms.
Take the handleWidth into account when calculating the split factor for the QSplitter of the MainWindow. This prevents expansion of the right view when the view is collapsed and the main window is resized.
Do not update the web view when it is not visible.
* add syncWebViewToHtmlSource() method * correct order in viewChangeSplit()
Conflicts: app/optionsdialog.cpp app/optionsdialog.ui
…e error. Used QFontMetrics to determine tab width in pixels.
Gitignore changes
…into slesa-tabwidth-changes
Added groupbox for the new tab width option to the OptionsDialog.
add new entry "Word Wrap" to the "Extras" menu. With this entry the use can change the line wrap mode of the markdown editor.
Save and restore the en-/disabled status of the new word wrap menu entry.
pull request against wrong branch. Replaced by #114. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have two problems:
Cursor movement seems to be rocket science in Qt5.