Compare commits
2 Commits
8270fe2542
...
beaf072740
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
beaf072740 | ||
|
|
e5a028ff93 |
@@ -2,6 +2,10 @@
|
|||||||
! From a user (novice) point of view, how does it look like?
|
! From a user (novice) point of view, how does it look like?
|
||||||
|
|
||||||
|
|
||||||
|
Use session 3:
|
||||||
|
- Maybe status view, commit changes (like to buffer name or line) on enter?
|
||||||
|
- Search over buffer directory, close search, quick enter buffer? Not sure if line, more general purpose
|
||||||
|
|
||||||
How to go about search/replace, opening code and other considerations
|
How to go about search/replace, opening code and other considerations
|
||||||
- We can use sed + find to search and replace, the automatic reopen should do the job
|
- We can use sed + find to search and replace, the automatic reopen should do the job
|
||||||
- Maybe also we can List all files recursively instead of opening them, how fast is that???
|
- Maybe also we can List all files recursively instead of opening them, how fast is that???
|
||||||
@@ -21,7 +25,6 @@ Debug session:
|
|||||||
- Some bad allocating happening in Clipboard for sure
|
- Some bad allocating happening in Clipboard for sure
|
||||||
|
|
||||||
New UI Session
|
New UI Session
|
||||||
- Move CommandWindow hooks to hooks
|
|
||||||
- Cleanup String16/String with Open and EvalCommands after lua refactor
|
- Cleanup String16/String with Open and EvalCommands after lua refactor
|
||||||
- Uneditable buffers ?
|
- Uneditable buffers ?
|
||||||
- Maybe marked allocations??? So that we can associate allocations with a buffer or view and then dealloc all at the same time
|
- Maybe marked allocations??? So that we can associate allocations with a buffer or view and then dealloc all at the same time
|
||||||
@@ -35,7 +38,6 @@ New UI Session
|
|||||||
- DBBuffer
|
- DBBuffer
|
||||||
- Guide on the first page for new users with links to configs, tutorials
|
- Guide on the first page for new users with links to configs, tutorials
|
||||||
|
|
||||||
- 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
|
- Try to add Tracking Allocator and rewrite the app, free all memory at the end of the app and check all is well
|
||||||
- Maybe fix OS layer returning with "/" at the end for directories
|
- Maybe fix OS layer returning with "/" at the end for directories
|
||||||
- Fix open code pattern
|
- Fix open code pattern
|
||||||
|
|||||||
@@ -763,7 +763,6 @@ void Command_Rename() {
|
|||||||
String Coro_YesNoCancel(mco_coro *co, BSet main, String question) {
|
String Coro_YesNoCancel(mco_coro *co, BSet main, String question) {
|
||||||
JumpTempBuffer(&main);
|
JumpTempBuffer(&main);
|
||||||
NextActiveWindowID = main.window->id;
|
NextActiveWindowID = main.window->id;
|
||||||
|
|
||||||
RawAppendf(main.buffer, R"==(
|
RawAppendf(main.buffer, R"==(
|
||||||
%S
|
%S
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ void CommandWindowUpdate() {
|
|||||||
ProfileFunction();
|
ProfileFunction();
|
||||||
BSet active = GetBSet(ActiveWindowID);
|
BSet active = GetBSet(ActiveWindowID);
|
||||||
if (active.window->id == CommandWindowID) {
|
if (active.window->id == CommandWindowID) {
|
||||||
if (!ProcessIsActive(active.view->id)) {
|
|
||||||
Scratch scratch;
|
Scratch scratch;
|
||||||
String16 line_string = GetLineStringWithoutNL(active.buffer, 0);
|
String16 line_string = GetLineStringWithoutNL(active.buffer, 0);
|
||||||
if (active.view->prev_search_line != line_string) {
|
if (active.view->prev_search_line != line_string) {
|
||||||
@@ -69,7 +68,6 @@ void CommandWindowUpdate() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void Command_ShowCommands() {
|
void Command_ShowCommands() {
|
||||||
if (ActiveWindowID == CommandWindowID && LastExecutedManualCommand == Command_ShowCommands) {
|
if (ActiveWindowID == CommandWindowID && LastExecutedManualCommand == Command_ShowCommands) {
|
||||||
|
|||||||
@@ -78,7 +78,8 @@ void StatusWindowUpdate() {
|
|||||||
const char *reopen = main.buffer->changed_on_disk ? " :Reopen" : "";
|
const char *reopen = main.buffer->changed_on_disk ? " :Reopen" : "";
|
||||||
const char *case_sens = SearchCaseSensitive ? " C" : "";
|
const char *case_sens = SearchCaseSensitive ? " C" : "";
|
||||||
const char *word_bound = SearchWordBoundary ? " W" : "";
|
const char *word_bound = SearchWordBoundary ? " W" : "";
|
||||||
String s = Format(scratch, " %S:%lld:%lld%s%s", main.buffer->name, (long long)xy.line + 1ll, (long long)xy.col + 1ll, case_sens, word_bound, reopen);
|
const char *dirty = main.buffer->dirty ? " !" : "";
|
||||||
|
String s = Format(scratch, " %S:%lld:%lld%s%s%s", main.buffer->name, (long long)xy.line + 1ll, (long long)xy.col + 1ll, dirty, case_sens, word_bound, reopen);
|
||||||
For (ActiveProcesses) {
|
For (ActiveProcesses) {
|
||||||
if (it.view_id == main.view->id.id) {
|
if (it.view_id == main.view->id.id) {
|
||||||
s = Format(scratch, "%S %lld :KillProcess", s, (long long)it.id);
|
s = Format(scratch, "%S %lld :KillProcess", s, (long long)it.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user