The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: hutch-- on September 12, 2011, 11:42:48 PM

Title: QE 4.0g Update.
Post by: hutch-- on September 12, 2011, 11:42:48 PM
I have meant to fix a clipboard bug for a long time but never got around to it. If the dislpay clipboard menu option was selected when the machine had been clean booted and there was no text data on the clipboard it would GP fault. The problem has been fixed.

It was mainly the case of working out which way I wanted to resolve the problem and did not like a number of the solutions I had thought about. This seems to be reliable and it was fundamentally simple.
Title: Re: QE 4.0g Update.
Post by: juzi on January 03, 2012, 12:47:26 PM
i download it , but seems no hightlight and intelesense :(
Title: Re: QE 4.0g Update.
Post by: hutch-- on January 04, 2012, 07:19:05 AM
juzi,

It will never have syntax hiliting and it requires a user with their own sense. Get another editor that does what you want. RadAsm and many others.
Title: Re: QE 4.0g Update.
Post by: jj2007 on January 25, 2012, 10:04:36 AM
Quote from: hutch-- on January 04, 2012, 07:19:05 AM
Get another editor that does what you want.

Hutch,

Nothing is wrong with QE - just extract the attached archive and run QE_with_colours.exe
:bg
Title: Re: QE 4.0g Update.
Post by: hutch-- on January 25, 2012, 03:49:53 PM
 :bg

JJ,

I am sure there was some genius involved there somewhere but you nearly sent me blind with all the technicolor.
Title: Re: QE 4.0g Update.
Post by: dedndave on January 25, 2012, 05:13:18 PM
NotePad++ has highlighting
first time i fired it up, i was scrambling to figure out how to turn it off - lol
Title: Re: QE 4.0g Update.
Post by: hutch-- on January 25, 2012, 05:21:27 PM
I did a technicolor version of QE about 10 years ago, hated it. I measure an editor in how fast I can read code and while technicolor may look cute, I read code much faster with fewer errors with accurate formatting and clean layout.
Title: Re: QE 4.0g Update.
Post by: jj2007 on January 25, 2012, 06:54:07 PM
It was more an exercise in how to force new features on QE than anything else :bg

Re colouring, I hate automatic mov eax, mem highlighting, it's meaningless. But my editor does add some colour here and there:
   push eax
   Print Str$(eax)   ; a comment
   pop eax
It helps me to keep track of the stack, and to distinguish between Masm32 print and MasmBasic Print. And sometimes I use it for very tricky code sequences, or for multi-line loops:
@@:
   ... lots of code ...
   je @F
   ... lots of code ...
   dec ecx
   jns @B
@@: nop

The worst of all habits imho is
         mov                                  wc.cbSize, sizeof WNDCLASSEX
         mov                                  wc.style, CS_BYTEALIGNCLIENT or CS_BYTEALIGNWINDOW
         sub                                  wc.lpfnWndProc, offset WndProc
         mov                                  wc.cbClsExtra, NULL

The eye has to jump enormous distances to associate mov with its arguments, and occasionally you might miss completely that there was a wrong instruction in front...
Title: Re: QE 4.0g Update.
Post by: Dark Schneider on February 08, 2012, 04:56:39 PM
I'm using Notepad++ for coding.
I like qeditor but when I select a text and press left or right arrow, the line will break.
Is it a bug or a feature? How to turn it off?
Title: Re: QE 4.0g Update.
Post by: hutch-- on February 08, 2012, 10:26:40 PM
The arrow keys act as block indent when you have text selected, to use it correctly it is designed for BLOCK SELECT where you drag select complete lines in the space between the left side of the edit window and the main window border.