Closed bendem closed 5 years ago
I'm not sure why that should be an issue, it's just how Qt's QPlainTextEdit behaves...
Would the keybinding be consider for inclusion as it will only affect mac users and won't surprise any of them since that's how it works in other text editing programs?
They could be hard-coded into https://github.com/pbek/qmarkdowntextedit/blob/d1aef9e1a7bc7c4f7d0cb9cbd5c372b768ad0ce3/qmarkdowntextedit.cpp#L109
Alright, I'll look into it.
Should I update manually or is it going through the release process?
There now is a new release (building), could you please test it and report if it works for you?
I confirm that this works.
Great, thank you for testing!
Expected behaviour
Typing cmd+up in the editor should set the cursor position to 1:1.
Actual behaviour
Typing cmd+up in the editor does nothing.
Steps to reproduce
Create a note, type some text, hit cmd+up, your cursor didn't move to 1:1 (Same thing for cmd+down)
Information about the application, settings and environment
Expand
QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Tue Jan 29 14:32:10 2019` **Version**: `19.1.11` **Build date**: `Jan 28 2019` **Build number**: `4123` **Platform**: `macosx` **Operating System**: `macOS 10.14` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `Travis CI` **Qt Version (build)**: `5.12.0` **Qt Version (runtime)**: `5.12.0` **Portable mode**: `no` **Settings path / key**: `/Users/benjamin/Library/Preferences/com.pbe.QOwnNotes.plist` **Application database path**: `/Users/benjamin/Library/Application Support/PBE/QOwnNotes/QOwnNotes.sqlite` **Application arguments**: `/Applications/QOwnNotes.app/Contents/MacOS/QOwnNotes` **Qt Debug**: `0` **Locale (system)**: `en_US` **Locale (interface)**: *empty* **Icon theme**: `breeze-dark-qownnotes` **Notes in current note folder**: `1` **Enabled scripts**: `5` ## Server Info **serverUrl**: *empty* **appIsValid**: `yes` **notesPathExists**: *empty* **serverVersion**: *empty* **appVersion**: *empty* ## Note folders **currentNoteFolderId**: `3` ### Note folder `QNotes` **id**: `1` **isCurrent**: `no` **activeTagId**: `-1` **localPath**: `/Users/benjamin/Documents/QNotes` **remotePath**: *empty* **isShowSubfolders**: `yes` **isUseGit**: `no` **activeNoteSubFolder name**: *empty* **database file**: `/Users/benjamin/Documents/QNotes/notes.sqlite` ### Note folder `Secure notes` **id**: `2` **isCurrent**: `no` **activeTagId**: `0` **localPath**: `/Volumes/Keybase (benjamin)/private/bendem/QSecureNotes` **remotePath**: *empty* **isShowSubfolders**: `yes` **isUseGit**: `yes` **activeNoteSubFolder name**: *empty* **database file**: `/Volumes/Keybase (benjamin)/private/bendem/QSecureNotes/notes.sqlite` ## Enabled scripts ### Script `Keybase Encryption` **id**: `3` **path**: `/Users/benjamin/Library/Application Support/PBE/QOwnNotes/scripts/encryption-keybase/encryption-keybase.qml` **variablesJson**: ``` { "kaybasePath": "/usr/local/bin/keybase", "kaybaseUser": "bendem" } ``` **identifier**: `encryption-keybase` **version**: `0.0.1` **minAppVersion**: `17.05.7` ### Script `Support for PlantUML in notes` **id**: `5` **path**: `/Users/benjamin/Library/Application Support/PBE/QOwnNotes/scripts/render-plantuml/render-plantuml.qml` **variablesJson**: ``` { "javaExePath": "java", "plantumlJarPath": "/opt/softs/plantuml/plantuml.jar", "workDir": "/tmp" } ``` **identifier**: `render-plantuml` **version**: `0.0.4` **minAppVersion**: `17.05.7` ### Script `Custom note preview styling` **id**: `6` **path**: `/Users/benjamin/Library/Application Support/PBE/QOwnNotes/scripts/preview-styling/preview-styling.qml` **variablesJson**: ``` { "customStylesheet": "img {\n display: block;\n max-width: 100%;\n}\n\npre { background-color: #333; }\ncode { background-color: transparent; }" } ``` **identifier**: `preview-styling` **version**: `0.0.2` **minAppVersion**: `17.05.7` ### Script `Custom user interface styling` **id**: `7` **path**: `/Users/benjamin/Library/Application Support/PBE/QOwnNotes/scripts/custom-stylesheet/custom-stylesheet.qml` **variablesJson**: ``` { "customStylesheet": "#noteTextView {\n padding: 1em 0.5em;\n}" } ``` **identifier**: `custom-stylesheet` **version**: `0.0.1` **minAppVersion**: `17.05.7` ### Script `in-note-text-tagging` **id**: `8` **path**: `/Users/benjamin/projects/github/QOwnNotesScripts/in-note-text-tagging/in-note-text-tagging.qml` **variablesJson**: ``` { "putToBeginning": true, "tagHighlightColor": "#ffbbff", "tagMarker": "@" } ``` ## Settings ** USB DISK 2/0** (QString): `1` ** USB DISK 3/0** (QString): `1` **646F6E7A_00000000_00000001_6E7A6361_696D6963** (qlonglong): `1` **ADATA USB Flash Drive** (QString): `1` **AKLastCheckInAttemptDate** (QDateTime): `2019-01-29T13:02:52.302` **AKLastCheckInSuccessDate** (QDateTime): `2019-01-29T13:02:52.734` **AKLastEmailListRequestDateKey** (QDateTime): `2019-01-29T13:02:21.673` **AKLastIDMSEnvironment** (qlonglong): `0` **AboutDialog/geometry** (QByteArray): `