Skip to content
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
wants to merge 102 commits into from
Closed

Feature/goto line #113

wants to merge 102 commits into from

Conversation

Slesa
Copy link
Contributor

@Slesa Slesa commented Jan 16, 2014

I have two problems:

  • the line number is not calculated correctly when using head lines
  • the input dialog should get current line and maximum line

Cursor movement seems to be rocket science in Qt5.

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.
cloose and others added 28 commits December 1, 2013 18:09
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.
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.
@cloose
Copy link
Owner

cloose commented Jan 16, 2014

pull request against wrong branch. Replaced by #114.

@cloose cloose closed this Jan 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants