Comments (5)
I agree this would be nice to have. Thanks for the reminder. While CDK (the terminal widget toolkit Textadept uses) supports menu widgets, I don't think it has a menu bar or support for nested submenus. Writing those widgets would be difficult for me, so that's why the terminal version of Textadept doesn't have menus :(
The "Tools > Select Command" (Ctrl+P) dialog helps alleviate this to an extent though.
from textadept.
Honest question: is it really that difficult to
- Without even saving the text buffer currently on the screen, just violently print withut grace on the top of the screen "FILE" with "SAVE, LOAD and QUIT" below
- Wait for the right hotkey and call the relative function
- Just redraw/refresh the screen to show the editor to return to the working file
?
I ask because it sounds like 10 lines of C code to my experience and it would make a huge difference in term of usability and initial learning curve.
(instead of hardcoding the menu it could be even easily possibile to use an external file which binds a new item of the menu to the relative function)
from textadept.
It might not be difficult to do, but it is a hard-coded, half-baked, inflexible solution that defeats the purpose of Textadept. Using an external file adds an additional layer of complexity (and failure point) that would likely not be worth it.
Ctrl+P for now is the way to go through Textadept's menu in the terminal.
from textadept.
You are 100% right I didn't know about CTRL-P.
I have only one simple legit question: why in the holy cult of the dead cow did you chose CTRL-P instead of ESC ? This menu would have been perfect if I only knew it existed
from textadept.
from textadept.
Related Issues (20)
- Bug: subscript character error HOT 5
- Not print capital letters (Cyrillic alphabet) HOT 4
- Query/ Feature Request: Print or Export to PDF HOT 2
- Fossil repository is not recognized as a project HOT 1
- Snippets don't work/cannot open dialog box. HOT 2
- Minimum version 11.0 on MacOS HOT 4
- As you type auto indent HOT 3
- https://invisible-mirror.net unreachable HOT 1
- textadept-gtk, stack smashing detected HOT 1
- `ctrl+cmd+???` keybinding oddness HOT 11
- Crash when selecting text HOT 5
- Keyboard shortcuts for adding a caret in Linux HOT 9
- SciTE vs. Textadept 12 keyboard event handling HOT 4
- Isolating the GTK part only along with fully offline build procedure (for version 12) HOT 7
- --session parameter ignored HOT 2
- Bottom slider/bar even on empty file (Linux) HOT 2
- Font quality HOT 6
- Hard Crash when Unsplitting View with Focus with v12 HOT 3
- Windows/VS2022/GTK3 build? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textadept.