Skip to content

Commit

Permalink
Move editor stuff to own folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Hal-9k1 committed Nov 28, 2024
1 parent 7d4ff5c commit d325358
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/renderer/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
useLayoutEffect,
} from 'react';
import Topbar from './Topbar';
import Editor, { EditorContentStatus } from './Editor';
import Editor, { EditorContentStatus } from './editor/Editor';
import DeviceInfo from './DeviceInfo';
import AppConsole from './AppConsole';
import type AppConsoleMessage from '../common/AppConsoleMessage'; // No crypto package on the renderer
Expand Down
File renamed without changes.
26 changes: 13 additions & 13 deletions src/renderer/Editor.tsx → src/renderer/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ import 'ace-builds/src-noconflict/mode-python';
import 'ace-builds/src-noconflict/snippets/python';
import 'ace-builds/src-noconflict/ext-language_tools';
import 'ace-builds/src-noconflict/ext-searchbox';
import uploadSvg from '../../assets/upload.svg';
import downloadSvg from '../../assets/download.svg';
import openSvg from '../../assets/open.svg';
import saveSvg from '../../assets/save.svg';
import saveAsSvg from '../../assets/save-as.svg';
import newFileSvg from '../../assets/new-file.svg';
import consoleSvg from '../../assets/console.svg';
import consoleClearSvg from '../../assets/console-clear.svg';
import zoomInSvg from '../../assets/zoom-in.svg';
import zoomOutSvg from '../../assets/zoom-out.svg';
import startRobot from '../../assets/start-robot.svg';
import stopRobot from '../../assets/stop-robot.svg';
import keyboardKeySvg from '../../assets/keyboard-key.svg';
import uploadSvg from '../../../assets/upload.svg';
import downloadSvg from '../../../assets/download.svg';
import openSvg from '../../../assets/open.svg';
import saveSvg from '../../../assets/save.svg';
import saveAsSvg from '../../../assets/save-as.svg';
import newFileSvg from '../../../assets/new-file.svg';
import consoleSvg from '../../../assets/console.svg';
import consoleClearSvg from '../../../assets/console-clear.svg';
import zoomInSvg from '../../../assets/zoom-in.svg';
import zoomOutSvg from '../../../assets/zoom-out.svg';
import startRobot from '../../../assets/start-robot.svg';
import stopRobot from '../../../assets/stop-robot.svg';
import keyboardKeySvg from '../../../assets/keyboard-key.svg';
import addEditorAutocomplete from './addEditorAutocomplete';
import addEditorTooltips from './addEditorTooltips';
import './Editor.css';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Ace, require as acequire } from 'ace-builds';
import robotKeyNumberMap from './robotKeyNumberMap';
import robotKeyNumberMap from '../robotKeyNumberMap';
import readApiCall from './readApiCall';

const { TokenIterator } = acequire('ace/token_iterator');
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit d325358

Please sign in to comment.