Open euneuber opened 2 years ago
Thank you for mentioning.
As the regular expression that parses the command snippets currently works is that if you have a headline the reg exp searches for the first code block after the headline. In your case the first code block after Test 1
is your ls
that is under the headline Test 2
...
Expected behaviour
title should be "Test 2"
Actual behaviour
title is "Test 1"
Steps to reproduce
Relevant log output in the Log panel
Expand
``` [10:52:02] [debug] updatePanelMenu - 'updatePanelMenu' ```Information about the application, settings and environment
Expand
QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Mi. Mai 4 10:52:12 2022` **Version**: `22.5.0` **Build date**: `May 2 2022` **Build number**: `963` **Platform**: `linux` **Operating System**: `openSUSE Tumbleweed` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `OBS` **Qt Version (build)**: `5.15.2` **Qt Version (runtime)**: `5.15.2` **Portable mode**: `no` **Settings path / key**: `/home/eugen/.config/PBE/QOwnNotes.conf` **Application database path**: `/home/eugen/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite` **Application arguments**: `/usr/bin/QOwnNotes` **Qt Debug**: `0` **Locale (system)**: `de_DE` **Locale (interface)**: *empty* **Primary screen resolution**: `1536x864` **Screen resolution(s)**: `1536x864, 3072x1728, 3072x1728` **Icon theme**: `breeze` **Notes in current note folder**: `101` **Calendar items**: `11` **Enabled scripts**: `0` ## Server Info **serverUrl**: `https://nextcloud.lin-serv.at` **appIsValid**: `yes` **notesPathExists**: `yes` **serverVersion**: `22.2.7.1` **appVersion**: *empty* ## Spellchecking **Enabled**: `true` **Selected language**: `auto` **Language codes**: `de_DE, en_US` **Language names**: `Deutsch (Deutschland), American English (United States)` **Application dictionaries path**: `/home/eugen/.local/share/PBE/QOwnNotes/dicts` ## Note folders **currentNoteFolderId**: `4` ### Note folder `Javascript` **id**: `2` **isCurrent**: `no` **activeTagId**: `-1` **localPath**: `/home/eugen/Nextcloud/Notes/Javascript` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: *empty* **database file**: `/home/eugen/Nextcloud/Notes/Javascript/notes.sqlite` ### Note folder `Nextcloude Notes` **id**: `4` **isCurrent**: `yes` **activeTagId**: `-1` **localPath**: `/home/eugen/Nextcloud/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: *empty* **database file**: `/home/eugen/Nextcloud/Notes/notes.sqlite` ### Note folder `Neuer Ordner` **id**: `5` **isCurrent**: `no` **activeTagId**: `0` **localPath**: `/home/eugen/Nextcloud/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: *empty* **database file**: `/home/eugen/Nextcloud/Notes/notes.sqlite` ## Cloud connections ### Cloud connection `lin-serv.at` **id**: `1` **isCurrent**: `yes` **serverUrl**: `https://nextcloud.lin-serv.at` **username**: `eugen` **accountId**: *empty* ## Enabled scripts ## Settings **AboutDialog/geometry** (QByteArray): `