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

Vertical bars enclosed in backticks inside table cells are not rendered according to GFM spec #1839

Open
2 of 7 tasks
jsamr opened this issue Dec 4, 2021 · 2 comments
Open
2 of 7 tasks
Labels
scope.markdown Relating to markdown features (i.e. supporting new language syntax) scope.views Related to Preview, TreeView, UI Panels, and other webviews sprint.backlog type.bug Something isn't working

Comments

@jsamr
Copy link

jsamr commented Dec 4, 2021

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

  • Workspace. VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
  • Lookup. Dendron's Lookup Command
  • Views. Dendron Preview, Tree View, Side Panels in the UI
  • Schema. Dendron Schemas
  • Pod. Data import from / export to Dendron
  • Publish. External Site Publish
  • Markdown. Markdown features, such as syntax support and features

Describe the bug

Vertical bars enclosed in backticks inside table cells should be displayed literally.

To Reproduce

Steps to reproduce the behavior:

  1. In one workspace, create a new note and copy-paste the below snippet.
  2. Open the Dendron Preview panel
|  A  |
| --- |
| `|` |

Expected behavior

A code span should appear inside the cell, with the | character in it.

Screenshots

image

Desktop (please complete the following information)

  • OS: Linux
  • Version: v0.71.0

Additional context

The GFM spec is quite explicit about this subject: in 6.3, code spans:

A backtick string is a string of one or more backtick characters (`) that is neither preceded nor followed by a backtick.

A code span begins with a backtick string and ends with a backtick string of equal length. The contents of the code span are the characters between the two backtick strings

This definition implicitly requires that any character within a pair of backtick strings must be rendered literally as content of the code span, and cannot be interpreted as a markdown syntax token. This is further supported by notes on backslash escapes:

Note that backslash escapes do not work in code spans. All backslashes are treated literally.

Backslash escapes are never needed, because one can always choose a string of n backtick characters as delimiters, where the code does not contain any strings of exactly n backtick characters.

Some implementations of GFM support vertical bar escapes in code spans, but this behavior drifts from the specs.

Last remark: I tried the escape sequence and it behaved according to the specs: displayed literally:

| A    |
| ---- |
| `\|` |

image

Dendron Log file

Log
{"level":30,"time":1638625481771,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"Logger:configure","msg":"exit","logLevel":"info"}
{"level":30,"time":1638625481823,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"_activate","stage":"prod","isDebug":false,"logLevel":"info","logPath":"/home/jsamr/.config/Code/logs/20211204T082020/exthost3/dendron.dendron","extensionPath":"/home/jsamr/.vscode/extensions/dendron.dendron-0.71.0","extensionUri":"/home/jsamr/.vscode/extensions/dendron.dendron-0.71.0","workspaceFile":"/home/jsamr/Dendron/dendron.code-workspace","workspaceFolders":["/home/jsamr/Dendron/vault"]}
{"level":30,"time":1638625481824,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"No cache path for Segment specified. Failed event uploads will not be retried."}
{"level":30,"time":1638625481824,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"user telemetry setting: enabled by config"}
{"level":30,"time":1638625481824,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1638625481824,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1638625481828,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"DendronExtension","msg":"initialized"}
{"level":30,"time":1638625482287,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"_activate","msg":"initializeWorkspace","wsType":"CODE","currentVersion":"0.71.0","previousWorkspaceVersion":"0.71.0","previousGlobalVersion":"0.71.0","extensionInstallStatus":"NO_CHANGE"}
{"level":30,"time":1638625482294,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"No cache path for Segment specified. Failed event uploads will not be retried."}
{"level":30,"time":1638625482295,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"user telemetry setting: enabled by config"}
{"level":30,"time":1638625482295,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1638625482295,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1638625482295,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","msg":"Telemetry is disabled? false"}
{"level":30,"time":1638625482295,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","msg":"Segment Residual Cache Path is at undefined"}
{"level":30,"time":1638625482404,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"user telemetry setting: enabled by config"}
{"level":30,"time":1638625482404,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1638625482405,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1638625482405,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","msg":"Telemetry is disabled? false"}
{"level":30,"time":1638625482405,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","msg":"Segment Residual Cache Path is at /home/jsamr/.config/Code/User/globalStorage/dendron.dendron/segmentresidualcache.log"}
{"level":30,"time":1638625482405,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"Attempting to flush residual segment data from file."}
{"level":30,"time":1638625482412,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"_activate","workspaceInstallStatus":"NO_CHANGE","currentVersion":"0.71.0","previousWorkspaceVersion":"0.71.0","previousGlobalVersion":"0.71.0","platform":"linux","extensions":[{"id":"dendron.dendron-paste-image","version":"1.1.0","active":false},{"id":"dendron.dendron-markdown-shortcuts","version":"0.12.1","active":true},{"id":"redhat.vscode-yaml","version":"1.2.2","active":false}],"vaults":[{"fsPath":"vault"}]}
{"level":30,"time":1638625482414,"pid":62027,"hostname":"jsamr-nuc","name":"execServer","state":"enter"}
{"level":30,"time":1638625482422,"pid":62027,"hostname":"jsamr-nuc","name":"execServer","state":"post:exec.node"}
{"level":30,"time":1638625483081,"pid":62244,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"No cache path for Segment specified. Failed event uploads will not be retried."}
{"level":30,"time":1638625483081,"pid":62244,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"user telemetry setting: enabled by config"}
{"level":30,"time":1638625483082,"pid":62244,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1638625483082,"pid":62244,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1638625483093,"pid":62027,"hostname":"jsamr-nuc","name":"execServer","state":"message","message":"42789"}
{"level":30,"time":1638625483093,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WSUtils.handleServerProcess","msg":"subprocess running","pid":62244}
{"level":30,"time":1638625483094,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"_activate","msg":"post-start-server","port":42789,"durationStartServer":805}
{"level":30,"time":1638625483096,"pid":62027,"hostname":"jsamr-nuc","name":"logger","ctx":"FileStorageV2","wsRoot":"/home/jsamr/Dendron","vaults":[{"fsPath":"vault"}],"level":"info"}
{"level":30,"time":1638625483097,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.reloadIndex:run","msg":"pre-execute"}
{"level":30,"time":1638625483097,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"ReloadIndex.execute","msg":"enter"}
{"level":30,"time":1638625483149,"pid":62244,"hostname":"jsamr-nuc","name":"logger","ctx":"parsingSchemas","fname":"cs","root":{"fsPath":"vault"},"imports":[]}
{"level":30,"time":1638625483150,"pid":62244,"hostname":"jsamr-nuc","name":"logger","ctx":"parsingSchemas","fname":"daily","root":{"fsPath":"vault"}}
{"level":30,"time":1638625483150,"pid":62244,"hostname":"jsamr-nuc","name":"logger","ctx":"parsingSchemas","fname":"media","root":{"fsPath":"vault"}}
{"level":30,"time":1638625483164,"pid":62244,"hostname":"jsamr-nuc","name":"logger","ctx":"parsingSchemas","fname":"shelf","root":{"fsPath":"vault"},"imports":[]}
{"level":30,"time":1638625483578,"pid":62244,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":1,"noteRefsLength":0,"wikiLinksLength":1}
{"level":30,"time":1638625483615,"pid":62244,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625483633,"pid":62244,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":1,"noteRefsLength":0,"wikiLinksLength":1}
{"level":30,"time":1638625483642,"pid":62244,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":0,"noteRefsLength":0,"wikiLinksLength":0}
{"level":30,"time":1638625483771,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"ReloadIndex.execute","durationEngineInit":670}
{"level":30,"time":1638625483771,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"ReloadIndex.execute","msg":"exit"}
{"level":30,"time":1638625483771,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.reloadIndex:run","msg":"post-execute"}
{"level":30,"time":1638625483812,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"reloadWorkspace","msg":"post-ws.reloadWorkspace"}
{"level":30,"time":1638625483813,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"reloadWorkspace","msg":"exit"}
{"level":30,"time":1638625483813,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"postReloadWorkspace","msg":"same wsVersion"}
{"level":30,"time":1638625483813,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"postReloadWorkspace","msg":"exit"}
{"level":30,"time":1638625483814,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"TreeView:getChildren","msg":"reconstructing tree: enter"}
{"level":30,"time":1638625483816,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"setupViews","msg":"init:treeViewV2"}
{"level":30,"time":1638625483817,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"setupBacklinkTreeView","msg":"init:backlinks"}
{"level":30,"time":1638625483820,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"activateWorkspace","stage":"prod","msg":"enter"}
{"level":30,"time":1638625483823,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"toggleViews","msg":"views enabled: true"}
{"level":30,"time":1638625483824,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"_activate","msg":"fin startClient","durationReloadWorkspace":1530}
{"level":30,"time":1638625483824,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"showWelcomeOrWhatsNew","version":"0.71.0","previousExtensionVersion":"0.71.0"}
{"level":30,"time":1638625483827,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"TreeView:getChildren","msg":"reconstructing tree: exit"}
{"level":30,"time":1638625484074,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 1 decorations"}
{"level":30,"time":1638625484969,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638625484970,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638625485082,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 1 decorations"}
{"level":30,"time":1638625485502,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638625485502,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638625485503,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638625485503,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638625485617,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 1 decorations"}
{"level":30,"time":1638625488426,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638625488427,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638625488552,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625490572,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveTextDocument","url":"/home/jsamr/Dendron/vault/cs.lang.cpp.md","reason":"Manual","msg":"enter"}
{"level":30,"time":1638625505851,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveTextDocument","url":"/home/jsamr/Dendron/vault/cs.lang.cpp.md","reason":"Manual","msg":"enter"}
{"level":30,"time":1638625507646,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625507687,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625508424,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625508449,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"provideCompletionItems","completionItemsLength":27}
{"level":30,"time":1638625508604,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625508688,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625509277,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625509464,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625509523,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625509861,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625509926,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625510137,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625510199,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625510972,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625511013,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625511605,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625511670,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625512078,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625512120,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625513261,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625513304,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625514637,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveTextDocument","url":"/home/jsamr/Dendron/vault/cs.lang.cpp.md","reason":"Manual","msg":"enter"}
{"level":30,"time":1638625514639,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveNote","match":["updated: 1638625450911","1638625450911"],"msg":"update activeText editor"}
{"level":30,"time":1638625516379,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638625516500,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625525958,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625526007,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625526185,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625526238,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625526750,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638625526786,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638625527390,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveTextDocument","url":"/home/jsamr/Dendron/vault/cs.lang.cpp.md","reason":"Manual","msg":"enter"}
{"level":30,"time":1638625527391,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveNote","match":["updated: 1638625514638","1638625514638"],"msg":"update activeText editor"}
{"level":30,"time":1638625539993,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.showPreview:run","msg":"pre-execute"}
{"level":30,"time":1638625539993,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"ShowPreview","msg":"creating new"}
{"level":30,"time":1638625539999,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.showPreview:run","msg":"post-execute"}
{"level":30,"time":1638625578607,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeActiveTextEditor","editor":"undefined"}
{"level":30,"time":1638629069430,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeActiveTextEditor","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638629069541,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629074378,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629074433,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629075465,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629075529,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629078010,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629078060,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629078692,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629078764,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629079298,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveTextDocument","url":"/home/jsamr/Dendron/vault/cs.lang.cpp.md","reason":"Manual","msg":"enter"}
{"level":30,"time":1638629079300,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveNote","match":["updated: 1638625527390","1638625527390"],"msg":"update activeText editor"}
{"level":30,"time":1638629080495,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629080563,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629081291,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveTextDocument","url":"/home/jsamr/Dendron/vault/cs.lang.cpp.md","reason":"Manual","msg":"enter"}
{"level":30,"time":1638629081293,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveNote","match":["updated: 1638629079299","1638629079299"],"msg":"update activeText editor"}
{"level":30,"time":1638629082405,"pid":62027,"hostname":"jsamr-nuc","name":"SegmentClient","msg":"Attempting to flush residual segment data from file."}
{"level":30,"time":1638629100418,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.showPreview:run","msg":"pre-execute"}
{"level":30,"time":1638629100418,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"ShowPreview","msg":"creating new"}
{"level":30,"time":1638629100422,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.showPreview:run","msg":"post-execute"}
{"level":30,"time":1638629114440,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeActiveTextEditor","editor":"undefined"}
{"level":30,"time":1638629125306,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeActiveTextEditor","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638629125424,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629254721,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629254791,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629255865,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629255920,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629256276,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveTextDocument","url":"/home/jsamr/Dendron/vault/cs.lang.cpp.md","reason":"Manual","msg":"enter"}
{"level":30,"time":1638629256276,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveNote","match":["updated: 1638629081292","1638629081292"],"msg":"update activeText editor"}
{"level":30,"time":1638629258084,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.showPreview:run","msg":"pre-execute"}
{"level":30,"time":1638629258084,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"ShowPreview","msg":"creating new"}
{"level":30,"time":1638629258086,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.showPreview:run","msg":"post-execute"}
{"level":30,"time":1638629319938,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638629319945,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638629319953,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638629320073,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629320174,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638629320305,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629322321,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629322496,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629322535,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629323513,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629323571,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629325060,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629325098,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629325568,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629325609,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629325921,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629325981,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629326416,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629326466,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629327684,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629327862,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629327921,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629328340,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629328387,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629328646,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629328708,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629329450,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629329630,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629329675,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629330347,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629330416,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629330801,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629330850,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629331269,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629331334,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629331623,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629331666,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629332705,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629332758,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629333693,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629333763,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629334385,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629334437,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629334777,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629334839,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629335723,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629335773,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629336722,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629336775,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629337719,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629337789,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629338382,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveTextDocument","url":"/home/jsamr/Dendron/vault/cs.lang.cpp.md","reason":"Manual","msg":"enter"}
{"level":30,"time":1638629338384,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveNote","match":["updated: 1638629256276","1638629256276"],"msg":"update activeText editor"}
{"level":30,"time":1638629341116,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.showPreview:run","msg":"pre-execute"}
{"level":30,"time":1638629341117,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"ShowPreview","msg":"creating new"}
{"level":30,"time":1638629341119,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.showPreview:run","msg":"post-execute"}
{"level":30,"time":1638629425261,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629425326,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629425933,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629425999,"pid":62027,"hostname":"jsamr-nuc","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":4,"noteRefsLength":0,"wikiLinksLength":4}
{"level":30,"time":1638629426936,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveTextDocument","url":"/home/jsamr/Dendron/vault/cs.lang.cpp.md","reason":"FocusOut","msg":"enter"}
{"level":30,"time":1638629426937,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveNote","match":["updated: 1638629338383","1638629338383"],"msg":"update activeText editor"}
{"level":30,"time":1638629570135,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["tasks"]}
{"level":30,"time":1638629570136,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeActiveTextEditor","editor":"undefined"}
{"level":30,"time":1638629629897,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["tasks","/home/jsamr/Dendron/vault/cs.lang.cpp.md"]}
{"level":30,"time":1638629629901,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeActiveTextEditor","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638629629903,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeTextEditorVisibleRanges","editor":"/home/jsamr/Dendron/vault/cs.lang.cpp.md"}
{"level":30,"time":1638629630010,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"updateDecorations","msg":"Displaying 0 warnings and 2 decorations"}
{"level":30,"time":1638629653110,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.dev.openLogs:run","msg":"pre-execute"}
{"level":30,"time":1638629653110,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"execute","opts":{}}
{"level":30,"time":1638629653129,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"dendron.dev.openLogs:run","msg":"post-execute"}
{"level":30,"time":1638629653193,"pid":62027,"hostname":"jsamr-nuc","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["tasks","/home/jsamr/.config/Code/logs/20211204T082020/exthost3/dendron.dendron/dendron.log"]}
@github-actions github-actions bot added scope.markdown Relating to markdown features (i.e. supporting new language syntax) scope.views Related to Preview, TreeView, UI Panels, and other webviews status.triage-needed type.bug Something isn't working labels Dec 4, 2021
@kevinslin
Copy link
Member

Thanks for the issue. Can reproduce. Adding it to our backlog

@aleksey-rowan
Copy link
Contributor

Hi, @jsamr,

There is an older issue addressing a similar concern and I think it could be a duplicate. Could you please check the following issue covers the problems you are having?

If it's a true duplicate, I would like to close this issue in favour of the linked one to keep the issue list smaller. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope.markdown Relating to markdown features (i.e. supporting new language syntax) scope.views Related to Preview, TreeView, UI Panels, and other webviews sprint.backlog type.bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants