From 93a0c4a282276cda3d9eb0f891dd0b4d7507465c Mon Sep 17 00:00:00 2001 From: KK Date: Fri, 14 Aug 2026 10:38:31 +0200 Subject: [PATCH] Misc changes --- src/plugin_tutorial.cpp | 2 +- src/text_editor.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugin_tutorial.cpp b/src/plugin_tutorial.cpp index 1a11559..4e5cd39 100644 --- a/src/plugin_tutorial.cpp +++ b/src/plugin_tutorial.cpp @@ -84,7 +84,7 @@ RegisterTutorialSection(HowToFindCommands, "Tutorial on finding the commands", R RegisterTutorialSection(HowToBindCommandsToKeys, "how to bind commands to keys", R"==( -We will start easy. Try selecting the entire line below and (ctrl-q / right click / F12) +We will start easy. Try selecting and executing the lines below: :Set DrawLineNumbers 0 :Set TextColor ffaa0000 diff --git a/src/text_editor.cpp b/src/text_editor.cpp index fa55013..f94b225 100644 --- a/src/text_editor.cpp +++ b/src/text_editor.cpp @@ -54,7 +54,7 @@ */ -#define PLUGIN_PROFILER 1 +#define PLUGIN_PROFILER 0 #include "plugin_profiler.h" #include "basic.h" #include "basic.cpp" @@ -1035,8 +1035,8 @@ int main(int argc, char **argv, char **envp) const SDL_DisplayMode *display_mode = SDL_GetCurrentDisplayMode(primary_display_id); int whalf = (int)(display_mode->w * 0.5) - 10; int hhalf = (int)(display_mode->h) - 120; - int xhalf = whalf; - int yhalf = 30; + // int xhalf = whalf; + // int yhalf = 30; #endif Uint32 window_flags = SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_HIGH_PIXEL_DENSITY;