News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

the INDENT function in QEDITOR

Started by supercoollee, May 06, 2010, 05:04:17 AM

Previous topic - Next topic

supercoollee

in the CHM help file, it says
"3. Micro indent on a selected block of text using the RIGHT and LEFT arrow keys. This is fixed at one (1) space per key repeat."

i have got used to notepad or other editor, RIGHT LEFT arrow keys move the cursor, not move the selected text. can i cancel this INDENT function?


hutch--

supercoollee,

Every editor has its characteristics, QE does micro indent differentiated by whether it is selected or not. Select a block and it can have the indent changed, unselect the text and the arrows work like arrows.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

supercoollee

i understand how it behaves. but i don't know the good of this.
if i want to increase the indent of a block, i can move the cursor to the left of the block, then press SPACEBAR or TAB.
now with this function, i can't deselect a block by pressing RIGHT or LEFT. i have to press UP or DOWN, or use the mouse, which is slower.

maybe this function is useful when i want to move multiple rows of text. but if i only selected a block within 1 row, i feel this is not good.

hutch--

QE has been around from its earliest versions since 1997 and over that time folks have asked to make it like the Borland IDE, the VC IDE, UltraEdit, Notepad++ etc etc etc .....

It is a tool in its own right that had block indent years before anyone else caught onto it, the micro-indent is a refinement on the larger movement buttons on the toolbar.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Slugsnack

Quote from: supercoollee on May 06, 2010, 02:10:16 PM
i understand how it behaves. but i don't know the good of this.
if i want to increase the indent of a block, i can move the cursor to the left of the block, then press SPACEBAR or TAB.
now with this function, i can't deselect a block by pressing RIGHT or LEFT. i have to press UP or DOWN, or use the mouse, which is slower.

maybe this function is useful when i want to move multiple rows of text. but if i only selected a block within 1 row, i feel this is not good.

you can just press up instead of right and down instead of left. not that big a difference really

dedndave

i like QE   :U
simple and fast
the only thing that is a little uncomfortable is that copy and paste are 2-deep in context menus
with most editors, it is right-click/copy or right-click/paste
i have thought some of messing around with it to see if i could change it   :P
maybe it could be an option ?

hutch--

now i am confused, what is wrong with the toolbar buttons for clipboard operations ?
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

dedndave

 :bg
not a thing, Hutch - i am just used to the context menu method
mainly because notepad and wordpad don't have menu icons (maybe wordpad does - i dunno)   :P

EDIT - what i ought to do is make QE my default text editor and get used to the icons
you are talking to a guy that used to use PC-Write   :lol
(which actually had some powerful fetures that i miss)

supercoollee

Hutch, i understand what dedndave meant about "too deep in context menu".
in most apps for windows(text editor or multimedia editors) have "right-click menu". they have different context when the user right-clicks on different areas.
in , such as notepad, when right-click on the editing area, the menu should show "copy, cut, paste, ...".
but in QEDITOR, when right-click on the editing area, the menu shows "file , edit , selection, ..." , while copy , paste functions are submenu of "edit". they are 1 level deeper than those of notepad.
it's not a problem for me though, i mostly use CTRL+C / V rather than clicking the menu.

jj2007

Until now I have not even foreseen copy etc in any menu of RichMasm - I had just assumed that all coders use Crtl C, X, V :red
Is that a must for an editor?? After a nasty experience with Repetitive Stress Injury some years ago, I have switched as much as possible from mouse to keyboard. It protects your fingers, really.

oex

How do you TAB in qeditor? I hate 4 spaces at the beginning of a line, that may seem lame to some but I've always regarded it at totally inefficient :lol
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv

hutch--

The problem is you cannot be all things to all people, I mentioned the requests over time for a reason, it used to be "copy the Borland IDE", then it was "Copy the Microsoft VC IDE", then it was Copy "UltraEdit", then "Copy Notepad", then "Notepad++" etc etc etc .....

For clipboard operations QE has the normal menu, the toolbar, Ctrl+V etc.. and the older Ctrl+Insert/Delete. Then it duplcates the complete main menu as a right click menu in the client area anhd the problem is here that some want the right click for help, others for text operation, others for File operations and others again want clipboard operations.

The usage order is toolbar first, then Ctrl+V etc then Ctrl/Shift+Ins/Del then the menu then the right click menu, I wonder how many more variation are required.

The tab replacement with spaces is to ensure that the text display is correct in places where tabs make a mess of formatting. Every editor and its dog has a different tab setting, this one has none, it aligns text with spaces only, that is why it can be used to produce text for many different targets without the mess that tabs make.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

sinsi

Since this is a qeditor bash, the one thing I don't like is having to use F2 to search - it should be F3.
A feature I would like to see is one that's in the FASM editor - vertical selection with cut/copy/paste.

Other than that, I like it (I upgraded from the old DOS6 edit.com)  :bg
Light travels faster than sound, that's why some people seem bright until you hear them.

hutch--

Sinsi,

I would have done it if it was possible but the selection techniques for richedit are contained internally and I doubt there is a way to change that. I still have a working copy of the old DOS Programmers Work Bench that does block selection perfectly but it was a pure character based app in text mode where the content was easy enough to get.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php