First hooks
This commit is contained in:
@@ -1,12 +1,3 @@
|
||||
REDESIGN and DELETE CODE
|
||||
- Reduce the amount of actions needed to navigate using keyboard
|
||||
- Make mouse important but much less so
|
||||
|
||||
Needs to change:
|
||||
- Make it more similar to sublime like editors
|
||||
- Need Ctrl + P
|
||||
- Clickable title bar may be cool or whatever but it's pretty bad
|
||||
- Executing lua commands is clunky, need a real Ctrl+P and keybind actions, popups: remove a lot of the lua functionality, just for config files
|
||||
- Window, View, Buffer + flags design (or is completely new kind based approach needed for Windows/Views?)
|
||||
- How to make non-editable, informative, with different font size, title bar. Which might also contain tabs
|
||||
- How to design clickable tree view in this way?
|
||||
@@ -14,17 +5,9 @@ Needs to change:
|
||||
- How to design popup view (input field)?
|
||||
- How to design search view? or search and replace view?
|
||||
|
||||
Things I like:
|
||||
- Basic editing
|
||||
- Configurable Open
|
||||
- Lua config files work pretty well
|
||||
|
||||
Splits:
|
||||
- Buffer16 Buffer8?
|
||||
- Why constraint that name of buffer needs to be unique? For Open() and default behavior but is this required?
|
||||
- Try to add Tracking Allocator and rewrite the app, free all memory at the end of the app and check all is well
|
||||
- move titlebar, search to splits?
|
||||
|
||||
|
||||
Commands TODO:
|
||||
- Search
|
||||
@@ -41,31 +24,8 @@ Commands TODO:
|
||||
- CONSIDER AUTOMATING: CheckpointBeforeGoto
|
||||
- GotoBackward how to handle that in case we want to automate and create on every move?
|
||||
|
||||
## Hooks and bindings
|
||||
|
||||
```
|
||||
|
||||
struct Hook {
|
||||
String name;
|
||||
String trigger;
|
||||
HookFunction function;
|
||||
};
|
||||
|
||||
void Command_New() {
|
||||
...
|
||||
} RegisterCommand(Command_New, "ctrl-n", NOT_VISIBLE_IN_LISTING);
|
||||
// How do we handle Command_Delete variations????
|
||||
|
||||
void Hook_FormatOnSave() {
|
||||
} RegisterHook(Hook_FormatOnSave, "onsave");
|
||||
|
||||
|
||||
Array<Hook> Hooks;
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
backlog
|
||||
DESIGN try to make console less special, make stuff reusable etc.
|
||||
DESIGN Config file versions, when loading should be checked, at the top of the file, what to do when old version?
|
||||
ISSUE Ctrl+Alt+Down (DuplicateLine) doesn't work on ubuntu
|
||||
@@ -98,7 +58,6 @@ FEATURE group history entries so the you can rollback through multiple ones at o
|
||||
- code sections, visual demarkation if beginning of line has a very specific text + goto next / goto prev section hotkey!
|
||||
- combine glyph and selection rendering
|
||||
|
||||
backlog
|
||||
- expose a coroutine based scripting enviorment where user can execute shell commands wait for them and perform actions in very linear manner
|
||||
- Test stdin writing code
|
||||
- Implement shell interaction (the valid cmd lines should start with '>' or '$', user can add more lines like this to expand the command size maybe?, if we have a case where we have a line with '>' but the last line doesn't have (just a space) then it should execute?)
|
||||
|
||||
Reference in New Issue
Block a user