Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@
#
# dist build output
target/
capture_config.json
server/capture_config.json
8 changes: 4 additions & 4 deletions client/src/CodeMirror-integration.mts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
// 5. Define a set of StateEffects to add/update/etc. doc blocks.
//
// Imports
// -----------------------------------------------------------------------------
// -------
//
// ### Third-party
import { basicSetup } from "codemirror";
Expand Down Expand Up @@ -104,7 +104,7 @@ import { assert } from "./assert.mjs";
import { show_toast } from "./show_toast.mjs";

// Globals
// -----------------------------------------------------------------------------
// -------
let current_view: EditorView;
// This indicates that a call to `on_dirty` is scheduled, but hasn't run yet.
let on_dirty_scheduled = false;
Expand Down Expand Up @@ -137,7 +137,7 @@ const exceptionSink = EditorView.exceptionSink.of((exception) => {
});

// Doc blocks in CodeMirror
// -----------------------------------------------------------------------------
// ------------------------
//
// The goal: given a [Range](https://codemirror.net/docs/ref/#state.Range) of
// lines containing a doc block (a delimiter, indent, and contents) residing at
Expand Down Expand Up @@ -825,7 +825,7 @@ export const DocBlockPlugin = ViewPlugin.fromClass(
);

// UI
// -----------------------------------------------------------------------------
// --
//
// There doesn't seem to be any tracking of a dirty/clean flag built into
// CodeMirror v6 (although
Expand Down
Loading
Loading