Rename note-block.js -> block.js

This commit is contained in:
Jonatan Heyman 2023-01-16 12:55:39 +01:00
parent d4b3905b0f
commit 15b86abf0f
4 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import {
} from "@codemirror/commands"
import { heynoteEvent, LANGUAGE_CHANGE } from "../annotation.js";
import { HIGHLIGHTJS_TO_TOKEN } from "../languages"
import { blockState, getActiveNoteBlock } from "./note-block"
import { blockState, getActiveNoteBlock } from "./block"
import { levenshtein_distance } from "../language-detection/levenshtein"

View File

@ -7,7 +7,7 @@ import { heynoteDark } from "./theme/dark.js"
import { heynoteBase } from "./theme/base.js"
import { customSetup } from "./setup.js"
import { heynoteLang } from "./lang-heynote/heynote.js"
import { noteBlockExtension } from "./block/note-block.js"
import { noteBlockExtension } from "./block/block.js"
import { heynoteKeymap } from "./keymap.js"
import { languageDetection } from "./language-detection/autodetect.js"

View File

@ -1,7 +1,7 @@
import { EditorState } from "@codemirror/state";
import { EditorView } from "codemirror";
import { redoDepth } from "@codemirror/commands";
import { getActiveNoteBlock, blockState } from "../block/note-block";
import { getActiveNoteBlock, blockState } from "../block/block";
import { levenshtein_distance } from "./levenshtein";
import { HIGHLIGHTJS_TO_TOKEN } from "../languages";
import { changeLanguageTo } from "../block/commands";