News:

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

MASM32 Version 10 Posted.

Started by hutch--, August 13, 2008, 11:57:29 PM

Previous topic - Next topic

petezl

Think this problem is specific to QeEditor, well not the editor itself but what the assemble and link button handler code executes!

Rebuild all works ok with no warnings, Compile resource works ok too...
Cats and women do as they please
Dogs and men should realise it.

zemtex

Hutch: May I suggest a few changes to QEditor. These ideas are stolen from Notepad++

Idea 1: Ability to bookmark specific lines in the editor by using CTRL + F2 and then scrolling between the bookmarks by pressing F2
Idea 2: Ability to swap lines of text up or down by pressing CTRL + SHIFT and UP/DOWN arrow keys
Idea 3: F11 for fullscreen mode coding
Idea 4: Line numbers on left side
Idea 5: Ability to zoom text (Font enlargement) by pressing CTRL and Mousewheel
Idea 6: Delete lines without selecting text first by pressing CTRL + L. It will then automatically move the next line one step up.
Idea 7: Ability to increase cursor size to block-size or half-block size

Thanks.
I have been puzzling with lego bricks all my life. I know how to do this. When Peter, at age 6 is competing with me, I find it extremely neccessary to show him that I can puzzle bricks better than him, because he is so damn talented that all that is called rational has gone haywire.

hutch--

zemtex,

QE is written in MASM using a rich edit control so some of the suggestions are probably not possible. I doubt the line numbers in the display area can be done in a tidy way and it already has line numbers and text offsets on the status bar.

The side selection bar allows most things in block form to be done quickly and this is particularly the case with drag and drop so that you can move text around quickly, delete it, replace it and so on. The text cursor is set in the rich edit control so even if it was desirable, it would be difficult to perform. Full screen is less attractive than it used to be with wide format screens where you are wasting screen space but its easy enough to click the maximise button or dsouble click on the title bar so I don't see the point.

The zoom capacity is easy enough to do and viable but it comes at the price that you cannot use fixed size fonts. I have a test piece up and running that can zoom text in and out but it can only be done with a scalable font and there are few decent fixed pitch fonts available in scalable form.

RE: Notepad++, QE predates it by some years and over time there have been requests to make it like the Borland IDE, Microsoft IDE, UltraEdit IDE, VB etc etc .... It is a tool in its own right with programmable menus to run anything you like, published DLL interfaces, 2 seperate scripting engines and a hybrid multi-instance design that can do much the same as an MDI interface but without being constrained within a single comtainer.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

zemtex

Fair enough, but i'm gonna get you for this  :bdg
I have been puzzling with lego bricks all my life. I know how to do this. When Peter, at age 6 is competing with me, I find it extremely neccessary to show him that I can puzzle bricks better than him, because he is so damn talented that all that is called rational has gone haywire.

jj2007

Quote from: zemtex on September 12, 2010, 05:39:50 PM
Idea 1: Ability to bookmark specific lines in the editor by using CTRL + F2 and then scrolling between the bookmarks by pressing F2

What do you think about the RichMasm bookmarking system? Select the text piece you want to see in the bookmark sidebar, press Control D, done.

zemtex

I have never tried RichMasm. I use notepad++ for everything I do. The features notepad++ offers is incredible and the quality of the coding environment is outstanding imho.

There is nothing more lame than to use an editor that you have to use the scrollbar and scroll for half a minute to find your function, that is the root of all evil and ineffectiveness. A good editor MUST have basic features that allows quick and efficient editing.

I don't tend to like editors that try to automate my assembly, i want to be in full control of everything, that is why I don't use editors like WinASM, programs that mess with my code and want to do the assembling for me.

Notepad++ is a very nice hit in between all of that. It offers supreme editing features yet it allows me to have full control of what is important to assembly.

I prefer notepad++ and a commandline instead of an editor with an automatic "build" or "compile" button. Assembly programmers dont like automation, that is why we use assembly in the first place. It is a waste of time to put such features into the editor.

What is the purpose of implementing a feature that will automatically fill in a switch in your code, you save a few seconds and leave out a good bookmarking system, you lose 2 or 3 times the amount of time right there.

Time saved -> using automatic switch (10 seconds)
Time wasted with a lack of bookmark system (probably an overall of hours in a full program development all combined)

It can be compared with trying to optimize the code before an initial loop instead of optimizing the loop itself. It is stupidity at peak level.  :bdg
I have been puzzling with lego bricks all my life. I know how to do this. When Peter, at age 6 is competing with me, I find it extremely neccessary to show him that I can puzzle bricks better than him, because he is so damn talented that all that is called rational has gone haywire.

TmX

Quote from: zemtex on September 13, 2010, 03:05:30 PM
I don't tend to like editors that try to automate my assembly, i want to be in full control of everything, that is why I don't use editors like WinASM, programs that mess with my code and want to do the assembling for me.

Reminds me of this quote:
Quote
"Editors are like girlfriends, everyone's taste is different"

http://www.masm32.com/board/index.php?PHPSESSID=9f21a0a2b7af31a5bb173b6a9766bf20&topic=6450.0

He he...

zemtex

Sure is. But taste is a matter of knowledge. A man who thinks his taste is better than another person and really believe that, he is lacking knowledge of efficiency. People are still adapting and able to learn new "taste".

It is a matter of knowledge. If you say "I like this BECAUSE", after the because line comes a line of reasons. Those reasons are subject to debate and is a question of knowledge.
I have been puzzling with lego bricks all my life. I know how to do this. When Peter, at age 6 is competing with me, I find it extremely neccessary to show him that I can puzzle bricks better than him, because he is so damn talented that all that is called rational has gone haywire.

jj2007

Quote from: zemtex on September 13, 2010, 03:05:30 PM
I have never tried RichMasm. I use notepad++ for everything I do. The features notepad++ offers is incredible and the quality of the coding environment is outstanding imho.

Many features indeed, impressing. How can I mark a single word in bold like in this phrase?

zemtex

Quote from: jj2007 on September 13, 2010, 09:09:23 PM
Quote from: zemtex on September 13, 2010, 03:05:30 PM
I have never tried RichMasm. I use notepad++ for everything I do. The features notepad++ offers is incredible and the quality of the coding environment is outstanding imho.

Many features indeed, impressing. How can I mark a single word in bold like in this phrase?

Try adding the word you want to make bold into the list of words that belong to your language in the theme settings and then choosing font settings for that word. You could probably make a custom list of words. I have not tried that yet, never saw the need to do that.
I have been puzzling with lego bricks all my life. I know how to do this. When Peter, at age 6 is competing with me, I find it extremely neccessary to show him that I can puzzle bricks better than him, because he is so damn talented that all that is called rational has gone haywire.

jj2007

Quote from: zemtex on September 13, 2010, 09:25:29 PM
Quote from: jj2007 on September 13, 2010, 09:09:23 PM
Quote from: zemtex on September 13, 2010, 03:05:30 PM
I have never tried RichMasm. I use notepad++ for everything I do. The features notepad++ offers is incredible and the quality of the coding environment is outstanding imho.

Many features indeed, impressing. How can I mark a single word in bold like in this phrase?

Try adding the word you want to make bold into the list of words that belong to your language in the theme settings and then choosing font settings for that word. You could probably make a custom list of words. I have not tried that yet, never saw the need to do that.

That sounds complicated. I select the word and press Control B. Like Tmx wrote, "everyone's taste is different" :bg

zemtex

Every editor has its up and downsides. There is probably not something you cannot deal with by customizing a few hotkeys. I don't even know if it exist already, because I havent used such a function, my words are already being properly highlighted and formatted for my use.

Can RichMasm split windows so that you can work with several windows? This is possible in notepad, you can rotate the splitted windows to vertical or horizontal. It's very useful with bookmarks combined with split windows, you can use one part to stay in your data section and a different part in the code somewhere. If you need to go to any functions, you simply press F2 and it will scroll through bookmarks.

Do you need to fix tab characters, no problem. Select text and press shift tab and then tab to how many places you want. Want to put in space characters to simulate the tabs, no problem either. You can choose tab size too ofcourse.

Notepad++ also have customizable linemarkers with optional transparancy, you can also customize the cursor to what size you want. The linemarkers is really useful for quick hint where you are located in the file.

Other features like macro capability is also included.

Do you have two or more files opened in two different tabs and want to compare if the source files are equal, no problem, press CTRL D and a popup window says if the files are equal or not. If they are uneven you will be given a graphical representation and all lines of text that is not even will be noticeable so you can quickly identify the differences.

All hotkeys are customizable from the menu. Need to hide lines of text, simply select the text section and press Alt + H, then two blue arrow keys will show up in the left section where the hidden text is. It is useful to narrow down the code. As you continue to analyze foreign code, you study some pieces, then hide it as you need to narrow it down.

Need to google a word in your code, no problem. select the word and press Alt + F2 it will automatically google the word for you in your browser.

There are so many things in this editor, I am barely scratching the surface of the possibilities in this editor. It is one big editor.

I have been puzzling with lego bricks all my life. I know how to do this. When Peter, at age 6 is competing with me, I find it extremely neccessary to show him that I can puzzle bricks better than him, because he is so damn talented that all that is called rational has gone haywire.

jj2007

Quote from: zemtex on September 13, 2010, 11:10:48 PM
Every editor has its up and downsides. There is probably not something you cannot deal with by customizing a few hotkeys. I don't even know if it exist already, because I havent used such a function, my words are already being properly highlighted and formatted for my use.
I like formatting critical pieces of code individually.

QuoteCan RichMasm split windows so that you can work with several windows?
Well, kind of: Select some lines of code and press Control F12. They will appear on top of the current window with a different background. It is exactly for the purpose you mentioned: Being able to see a piece of the data section while you are in the code section where those variables are being used.

QuoteNeed to google a word in your code, no problem. select the word and press Alt + F2 it will automatically google the word for you in your browser.
If you select, for example, ExitProcess in RichMasm, pressing F1 will launch directly the Win32.hlp page (if present in the help folder), but on the "Help" menu you will also find Google.

QuoteThere are so many things in this editor, I am barely scratching the surface of the possibilities in this editor. It is one big editor.
Notepad++ is surely a professional and mature product. I am hooked on the individual formatting, otherwise I would consider using it. There are a bit too many features that I would definitely never use, though.

zemtex

Quote from: jj2007 on September 13, 2010, 11:48:47 PM
Quote from: zemtex on September 13, 2010, 11:10:48 PM
Every editor has its up and downsides. There is probably not something you cannot deal with by customizing a few hotkeys. I don't even know if it exist already, because I havent used such a function, my words are already being properly highlighted and formatted for my use.
I like formatting critical pieces of code individually.

QuoteCan RichMasm split windows so that you can work with several windows?
Well, kind of: Select some lines of code and press Control F12. They will appear on top of the current window with a different background. It is exactly for the purpose you mentioned: Being able to see a piece of the data section while you are in the code section where those variables are being used.

QuoteNeed to google a word in your code, no problem. select the word and press Alt + F2 it will automatically google the word for you in your browser.
If you select, for example, ExitProcess in RichMasm, pressing F1 will launch directly the Win32.hlp page (if present in the help folder), but on the "Help" menu you will also find Google.

QuoteThere are so many things in this editor, I am barely scratching the surface of the possibilities in this editor. It is one big editor.
Notepad++ is surely a professional and mature product. I am hooked on the individual formatting, otherwise I would consider using it. There are a bit too many features that I would definitely never use, though.

It's probably worth looking at it, I won't be totally ignorant. But chances are I will probably flee straight back to notepad++ again. It's an evil to go from editor to editor, once you have learned all its features and hotkeys (at least the most frequent used) it is not "healthy" to jump from editor to editor. Thank god, many editors follow windows standards so many use similar hotkeys and menu placements.
I have been puzzling with lego bricks all my life. I know how to do this. When Peter, at age 6 is competing with me, I find it extremely neccessary to show him that I can puzzle bricks better than him, because he is so damn talented that all that is called rational has gone haywire.

vozzie


My Colleagues are very excited about notepad++, but when i see the time it takes to load, my stomach turns,.... The same reason because at my job i have to use Visual Studio i started loving Easy Code for it's no crap, fast GUI... Even I've gotten used with certain VS features I'm missing in Easy Code(build events, macros,...),... Now i enjoy programming again at home,...

An ex colleague was very excited about topgun because of it's Superior speed in searching text,...

But when i have to jump from one IDE to another or from one project to another 5 times a day, and have to wait every time a couple of minutes for it to load, I'm heading for a breakdown :D

There is still EDIT for windows users, oh right, it isn't anymore -> http://social.answers.microsoft.com/Forums/en-US/w7programs/thread/93dd1288-b67e-4913-85fd-841d857040a7