Moving files around
This commit is contained in:
@ -1,10 +0,0 @@
|
||||
<script lang="ts">
|
||||
let count: number = $state(0)
|
||||
const increment = () => {
|
||||
count += 1
|
||||
}
|
||||
</script>
|
||||
|
||||
<button onclick={increment}>
|
||||
count is {count}
|
||||
</button>
|
||||
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { onMount, onDestroy } from 'svelte';
|
||||
import { EditorView, minimalSetup } from 'codemirror';
|
||||
import { EditorState, Compartment } from '@codemirror/state';
|
||||
import { EditorView } from 'codemirror';
|
||||
import { Compartment } from '@codemirror/state';
|
||||
import { lineNumbers, highlightActiveLineGutter, highlightSpecialChars, drawSelection, dropCursor, rectangularSelection, crosshairCursor, highlightActiveLine, keymap } from '@codemirror/view';
|
||||
import { defaultKeymap, history, historyKeymap } from '@codemirror/commands';
|
||||
import { searchKeymap, highlightSelectionMatches } from '@codemirror/search';
|
||||
@ -13,7 +13,7 @@
|
||||
import { css } from '@codemirror/lang-css';
|
||||
import { oneDark } from '@codemirror/theme-one-dark';
|
||||
import { vim } from '@replit/codemirror-vim';
|
||||
import type { EditorSettingsStore } from './stores/editorSettings';
|
||||
import type { EditorSettingsStore } from '../../stores/editorSettings';
|
||||
|
||||
interface Props {
|
||||
value: string;
|
||||
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { getAppContext } from './contexts/app-context';
|
||||
import { getAppContext } from '../../contexts/app-context';
|
||||
|
||||
const { editorSettings } = getAppContext();
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
import { onMount } from 'svelte';
|
||||
import Editor from './Editor.svelte';
|
||||
import LogPanel from './LogPanel.svelte';
|
||||
import type { EditorSettingsStore } from './stores/editorSettings';
|
||||
import type { EditorSettingsStore } from '../../stores/editorSettings';
|
||||
|
||||
interface Props {
|
||||
value: string;
|
||||
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { Copy, Trash2, Search, Pause, Play } from 'lucide-svelte';
|
||||
import { getAppContext } from './contexts/app-context';
|
||||
import type { LogEntry } from './csound';
|
||||
import { getAppContext } from '../../contexts/app-context';
|
||||
import type { LogEntry } from '../../csound';
|
||||
import { tick } from 'svelte';
|
||||
|
||||
interface Props {
|
||||
@ -1,9 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { onMount } from 'svelte';
|
||||
import { File, Plus, Trash2 } from 'lucide-svelte';
|
||||
import type { CsoundProject, ProjectManager } from './project-system';
|
||||
import type { CsoundProject, ProjectManager } from '../../project-system';
|
||||
import ConfirmDialog from './ConfirmDialog.svelte';
|
||||
import InputDialog from './InputDialog.svelte';
|
||||
|
||||
interface Props {
|
||||
projectManager: ProjectManager;
|
||||
Reference in New Issue
Block a user