From 87feacc5463d1a4e670bb44f7b5dc83796212930 Mon Sep 17 00:00:00 2001 From: Pagwin Date: Thu, 16 Jan 2025 16:34:03 -0500 Subject: [PATCH] started work on editor frontier post --- posts/editor_frontier.md | 22 +++++++ static/css/layout.css | 21 +++---- static/images/editor_frontier.svg | 100 ++++++++++++++++++++++++++++++ 3 files changed, 132 insertions(+), 11 deletions(-) create mode 100644 posts/editor_frontier.md create mode 100644 static/images/editor_frontier.svg diff --git a/posts/editor_frontier.md b/posts/editor_frontier.md new file mode 100644 index 0000000..45afb44 --- /dev/null +++ b/posts/editor_frontier.md @@ -0,0 +1,22 @@ +--- +title: "The text editor frontier" + +description: "Comments and thoughts on editor wars." + +date: "2025-01-16" + +draft: true + +tags: [] +--- + + + + + + +
+ +
+

Triangle with 3 points corresponding to Power, Ease of Use and Low Resource Usage. Some editors sit on the points while others are broadly placed on the lines of the triangle without specific positioning

+
diff --git a/static/css/layout.css b/static/css/layout.css index ed380cd..ff17757 100644 --- a/static/css/layout.css +++ b/static/css/layout.css @@ -22,6 +22,14 @@ body { margin-left:0px; } +figure { + background: hsla(0, 0%, 30%, 50%); +} + +figcaption { + text-align: center; +} + a { font-weight: bold; text-decoration: none; @@ -198,8 +206,8 @@ blockquote { height: 2rem; } -/* div element with this class can be a bitch so need to select those as well as pre*/ -.sourceCode { +/* all of these can break out of the box we want to put them in*/ +.sourceCode, object, :has(> object), img, :has(> img), pre{ max-width: -moz-available; max-width: -webkit-fill-available;; max-width: fill-available; @@ -207,17 +215,8 @@ blockquote { } pre { - /*We also need it on pre because not all pre blocks are source code >:(*/ - max-width: -moz-available; - max-width: -webkit-fill-available;; - max-width: fill-available; - width: fit-content; box-sizing: border-box; min-height: 2em; - /* - * previously a cludge of 75 em this is now a cludge of 2 different vendor extensions - * - * */ /* * need to may y axis scroll hidden for chromium diff --git a/static/images/editor_frontier.svg b/static/images/editor_frontier.svg new file mode 100644 index 0000000..81beb55 --- /dev/null +++ b/static/images/editor_frontier.svg @@ -0,0 +1,100 @@ + + + + + + + + + Power + + + Ease of use + + + Low resource usage + + + + + + + + + + + + + + + + + + + + Emacs + + + + + + + + + + + + + Ed + + + + + + + + + + + + + Notepad et. al. + + + Sublime + VS code + AI editors + Jetbrains + close to this line + + + Vi + Vim + Neovim + Misc modal editors + close to this line + + + Nano + Micro + a few others + on this line + + + I'm unaware of editors which live here + maybe notepad++ + +