-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: separate the highlight view (#16)
fix: undo/redo improper counting fix: backspace not considered "mutating" feat: npm run website:dev fix: input processor docs feat: re-introduce highlight throttling Signed-off-by: Steven E Wright <StevenEWright@users.noreply.github.com>
- Loading branch information
1 parent
4c1d7a3
commit 3234346
Showing
17 changed files
with
381 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* Kullna Editor - A small but feature-rich code editor for the web | ||
Copyright (C) 2022-2023 The Kullna Programming Language Project | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. */ | ||
|
||
/** | ||
* @packageDocumentation # @kullna/editor Documentation (Dev Version) | ||
* | ||
* Welcome to the documentation for the Kullna Editor! | ||
* | ||
* Please see: [Test Page](/test.html) | ||
*/ | ||
export {Options} from './options'; | ||
export {KullnaEditor} from './kullna_editor'; | ||
export {EditorOptions} from './internals/editor_options'; | ||
export {Editor} from './internals/editor'; | ||
export {UndoRedoManager} from './internals/undo_redo_manager'; | ||
export * as Text from './internals/text_editor/docs_index'; | ||
export * as Gutters from './internals/gutter/docs_index'; | ||
export * as Processors from './internals/pipeline/docs_index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* Kullna Editor - A small but feature-rich code editor for the web | ||
Copyright (C) 2022-2023 The Kullna Programming Language Project | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. */ | ||
|
||
/** | ||
* @packageDocumentation # Gutters (Dev Version) | ||
* | ||
* The Gutter handles creating and maintaining | ||
* the DOM elements within the gutter. This approach anticipates future optimization | ||
* where we aim to manage gutter elements more efficiently by reusing them, rather than | ||
* creating new ones every time the line count in the editor changes. This strategy | ||
* requires the editor to have complete control over these gutter elements. Presently, | ||
* the gutter also determines the line's location within the editor, crucial for line | ||
* numbers and highlighting - however, this source of truth will shift to the internals | ||
* of the selection bridge in the future, as it knows the line's location within the | ||
* editor already, and defininitively. | ||
* | ||
* Currently line highlighting is handled by the gutter, but this will change in the future | ||
* when we have a better, more flexible, and more performant way of tracking line heights | ||
* and positions. | ||
*/ | ||
|
||
export {GutterLineElement} from './line'; | ||
export {GutterCustomizer} from './customizer'; | ||
export {Gutter} from './gutter'; | ||
export {GutterOptions} from './options'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* Kullna Editor - A small but feature-rich code editor for the web | ||
Copyright (C) 2022-2023 The Kullna Programming Language Project | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. */ | ||
|
||
/** @packageDocumentation # Input Processors (Dev Version) */ | ||
export {type InputProcessor, type InputProcessorArgs} from './input_processor'; | ||
export {type NewlineProcessorOptions, newlineProcessor} from './newline_processor'; | ||
export {type TabProcessorOptions, tabProcessor} from './tab_processor'; | ||
export {type bracketProcessor} from './bracket_processor'; | ||
|
||
export {DefaultProcessors} from './index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.