Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
agateau committed Jan 8, 2019
2 parents 0d20e5f + 33bb844 commit 7c2e2f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Binary file modified screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/IndentExtension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ bool IndentExtension::canRemoveIndentation() const

void IndentExtension::insertIndentation()
{
mTextEdit->insertPlainText(QString(INDENT_SIZE, ' '));
auto cursor = mTextEdit->textCursor();
indentLine(cursor);
}

void IndentExtension::processSelection(ProcessSelectionCallback callback)
Expand Down
4 changes: 2 additions & 2 deletions src/welcome.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ It also has a few handy editing features, like auto-bullet lists:

You can also open urls using Control + click. You can try clicking on this one for example: https://github.com/agateau/nanonote.

Finally, you can indent/unindent text by selecting it and pressing Tab and Shift+Tab.
Finally, you can indent selected lines with Ctrl+I and unindent with Ctrl+U.

That's all there is to say, now you can erase this text and start taking notes!
That's all there is to say, now you can erase this text and start taking notes!

0 comments on commit 7c2e2f3

Please sign in to comment.