The BEST QL Editor

A place to discuss general QL issues.
User avatar
RalfR
QL Wafer Drive
Posts: 1271
Joined: Fri Jun 15, 2018 8:58 pm

Re: The BEST QL Editor

Post by RalfR »

tofro wrote: Wed Sep 17, 2025 2:48 pmThe most annoying thing IMHO is that uEmacs warps the pointer to some unexpected place if you select a menu item. I keep searching my mouse pointer in that program.
Isn't it similar in QD? When you click on an item with the mouse from the editing window, you first have to look back at where you were and put the pointer there again.


7000 4E75
User avatar
pjw
QL Wafer Drive
Posts: 1657
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: The BEST QL Editor

Post by pjw »

RalfR wrote: Wed Sep 17, 2025 4:09 pm
tofro wrote: Wed Sep 17, 2025 2:48 pmThe most annoying thing IMHO is that uEmacs warps the pointer to some unexpected place if you select a menu item. I keep searching my mouse pointer in that program.
Isn't it similar in QD? When you click on an item with the mouse from the editing window, you first have to look back at where you were and put the pointer there again.
Not if you WAKE QD, either via a wake hotkey or by DOing the window if partially buried. Also, I find the sprite cursor easier to see than the traditional one.

QD is great, though there are a few bugs and niggles. A pity it wasnt developed further.

The only other editor I use is DP's The Editor, special addition. It doesnt do macros, as in recording keystrokes and playing back keystrokes, but it is programmable, so I often use it for cleaning up code or text that comes from other worlds.

Full disclosure: My setup is SMSQ/E in high colour and a large screen and more memory than I normally ever need. On a BBQL Id probably use something like Jan Bredenbeek's QED. On a QL with 512Kb+, The Editor. With PE, QD.


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
User avatar
RalfR
QL Wafer Drive
Posts: 1271
Joined: Fri Jun 15, 2018 8:58 pm

Re: The BEST QL Editor

Post by RalfR »

pjw wrote: Wed Sep 17, 2025 5:53 pm
RalfR wrote: Wed Sep 17, 2025 4:09 pm
tofro wrote: Wed Sep 17, 2025 2:48 pmThe most annoying thing IMHO is that uEmacs warps the pointer to some unexpected place if you select a menu item. I keep searching my mouse pointer in that program.
Isn't it similar in QD? When you click on an item with the mouse from the editing window, you first have to look back at where you were and put the pointer there again.
Not if you WAKE QD, either via a wake hotkey or by DOing the window if partially buried.
I meant a menu item of QD, not outside QD.


7000 4E75
User avatar
tofro
Font of All Knowledge
Posts: 3211
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: The BEST QL Editor

Post by tofro »

RalfR wrote: Wed Sep 17, 2025 4:09 pm
tofro wrote: Wed Sep 17, 2025 2:48 pmThe most annoying thing IMHO is that uEmacs warps the pointer to some unexpected place if you select a menu item. I keep searching my mouse pointer in that program.
Isn't it similar in QD? When you click on an item with the mouse from the editing window, you first have to look back at where you were and put the pointer there again.
Nope. If you click on a menu item in QD2 (or any other reasonably behaving PE program), the pointer stays where it is. If you do the same in µEmacs, it can be just about anywhere but not where you expect it to be.


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
RalfR
QL Wafer Drive
Posts: 1271
Joined: Fri Jun 15, 2018 8:58 pm

Re: The BEST QL Editor

Post by RalfR »

Hmm, if I move the pointer (cursor pointer) in QD to the menu bar, it disappears from the text, so how do you remember where it was?


7000 4E75
User avatar
desin
Over Heated PSU
Posts: 137
Joined: Mon May 10, 2021 10:33 am

Re: The BEST QL Editor

Post by desin »

place the cursor with the mouse
use the shortcuts F x, CF x ,Shift x for commands

Markus


User avatar
RalfR
QL Wafer Drive
Posts: 1271
Joined: Fri Jun 15, 2018 8:58 pm

Re: The BEST QL Editor

Post by RalfR »

Well, then menu items that can be clicked with the mouse don't really make much sense.


7000 4E75
User avatar
ql_freak
Super Gold Card
Posts: 611
Joined: Sun Jan 18, 2015 1:29 am

Re: The BEST QL Editor

Post by ql_freak »

RalfR wrote: Wed Sep 17, 2025 4:09 pm
tofro wrote: Wed Sep 17, 2025 2:48 pmThe most annoying thing IMHO is that uEmacs warps the pointer to some unexpected place if you select a menu item. I keep searching my mouse pointer in that program.
Isn't it similar in QD? When you click on an item with the mouse from the editing window, you first have to look back at where you were and put the pointer there again.
I do not understand what you both are meaning. Here after a command the mouse pointer is invisible and the text cursor is either at the same position (e.g. if you abort with ^G) or in the Emacs command line, if further arguments are required or at the position where it would be if you entered the command via a shortcut (key binding) or executing a command without the menu system.

For me the most annoying is, that you cannot kill the current buffer, you first have to switch to another buffer. But I think it should be possible to write a macro which allows closing the current buffer. I will have a look, when I have finished my reflection toolkit.


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
User avatar
RalfR
QL Wafer Drive
Posts: 1271
Joined: Fri Jun 15, 2018 8:58 pm

Re: The BEST QL Editor

Post by RalfR »

We just spoke about QD ;) .


7000 4E75
User avatar
ql_freak
Super Gold Card
Posts: 611
Joined: Sun Jan 18, 2015 1:29 am

Re: The BEST QL Editor

Post by ql_freak »

Dave wrote: Tue Sep 16, 2025 6:42 pm The best QL editor/IDE might have the following features:

Doesn't need line numbers
Automatic indent, configurable. 2, 3, 4 spaces. 240x75 that'll be useful
...
It should be possible to implement a lot (most?) of your wishes with the MicroEmacs builtin programming language. It is a full blown programming language (better than the macros of The Editor and even better than the programming capabilities of DME) with a lot of inbuilt variables which can be read and (mostly) written to.

Have you tried to use abbreviations (you must add the mode abbrev to the buffer if you want to use them)?


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
Post Reply