News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Simple editor - betatesters please

Started by jj2007, March 06, 2024, 01:49:54 AM

Previous topic - Next topic

jj2007

It's work in progress, use at own risk and backup precious sources, but it's ready for some serious testing: I need feedback :thup:

Extract the exe to a folder and launch it. Make a copy of your biggest source, open it and hit F6. I am curious what kind of bugs you will discover ;-)

My motivation for writing this is that my usual Notepad replacement Explorer2 didn't add a Utf8 BOM and therefore screwed up some of the text files I am working on. So here it is, Notepad with some bells and whistles. The source is 413 lines, i.e. 1.5% of the RichMasm source, so don't expect too much.

TimoVJL

sqlite3.c 8,59 MB opened nicely.
But Invalid menu handle in Window 7
May the source be with you

sinsi

Menues don't work until the second run (.ini files?)
I prefer to click on a menu before it shows  :biggrin:
Can I change the font?

Active code page: 65001
["C:\asm\ODBC\ODBC.asm"] [/ID-117] []
'\Masm32\bin\UAsm64.exe' is not recognized as an internal or external command,
operable program or batch file.
POLINK: fatal error: File not found: 'tmp_file.obj'.
You had errors, sorry
Press any key to continue . . .


greenozon

I tried to enter this forum topic but from time to time I"m hitting this kind of case:





any ideas?  (this happens to random pages here...)

jj2007

Quote from: TimoVJL on March 06, 2024, 02:22:30 AMInvalid menu handle in Window 7

Confirmed, thanks.

Quote from: sinsi on March 06, 2024, 02:34:07 AMMenues don't work until the second run (.ini files?)

Yep, I got the order wrong, thanks :thumbsup:

QuoteI prefer to click on a menu before it shows  :biggrin:

That's a matter of taste: I hate clicking for no reason. Many websites have now menus that work with hovering instead of clicking.

QuoteCan I change the font?

Which font? I can add that feature to the ini file if needed.
Btw Ctrl + mousewheel let's you zoom in or out (and the setting will be remembered).

Quote from: greenozon on March 06, 2024, 02:53:12 AMI tried to enter this forum topic but from time to time I"m hitting this kind of case:

That happens frequently. Just hit F5 :thumbsup:

mabdelouahab

Hello,

I tried the program you sent, and I encountered a few issues:

Firstly, the menu doesn't seem to work.
Secondly, when clicking on 'build batch,' I get a fatal error "Line ???: Array Erased Or undefined", then the program shuts down.
Lastly, the program doesn't compile code into 64-bit.


jj2007

Hi mabdelouahab,

Thanks for testing this :thup:

> Firstly, the menu doesn't seem to work.
Version 2 should work, see attachment

> Secondly, when clicking on 'build batch,' I get a fatal error "Line ???: Array Erased Or undefined", then the program shuts down.
That is evidently a bug. In the executable's folder, do you see a buildSE.bat? Most probably you see it, but it wasn't there on first launch. Again, I got the order wrong, as Sinsi rightly noted.

> Lastly, the program doesn't compile code into 64-bit.
This is by design: the B button should show all batch files in the executable's folder. Put your 64-bit batch file there; note that the source will be Tmp_File.asm - see buildSE.bat for info.

I am grateful for examples of 64-bit batch files. As you know, we have several "toolchains" here, like Masm64 SDK, WinInc, ...

HSE

Hi JJ,

  • background look like turquise
  • There is no save
  • Empty file admit to be saved as
  • Open try to open same file in edition

HSE
Equations in Assembly: SmplMath

greenozon

small issue report:

click print icon
Cancel

msg box:
---------------------------
Print:
---------------------------
0 pages printed
---------------------------
OK   
---------------------------


idea - do not show it

2) click on "B" button:

---------------------------
Fatal error:
---------------------------
Line ???: Array erased or undefined


---------------------------
OK   
---------------------------


please explain what is that? (app crashed and closed up)


jj2007

#9
Quoteidea - do not show it

"0 pages printed" is a reassuring info that indeed the printer will not start spitting out empty sheets... but perhaps I'll follow your advice ;-)

Quote2) click on "B" button:

---------------------------
Fatal error:
---------------------------
Line ???: Array erased or undefined

This will work when you launch it the second time.

jj2007

Quote from: HSE on March 06, 2024, 04:22:11 AM
  • background look like turquise
  • There is no save
  • Empty file admit to be saved as
  • Open try to open same file in edition

1. I am working on it, there might be a bgcol=0FFFFFFh in the ini file.
2. Ctrl S works fine, but you are right, it should be explicit in the menu, too.
3.+4. I don't understand what you mean...? 

mabdelouahab

Quote from: jj2007 on March 06, 2024, 03:57:36 AMIn the executable's folder, do you see a buildSE.bat? Most probably you see it, but it wasn't there on first launch
Hi jj
I've checked the executable's folder both after the first launch and again after running the program a second time, but I couldn't find the buildSE.bat file. It seems like it wasn't included in the version you sent me.

HSE

Quote from: jj2007 on March 06, 2024, 04:59:09 AM3.+4. I don't understand what you mean...? 

3. Even if editor is empty, apparently can save something.
4. Open a file, and try to open another file
Equations in Assembly: SmplMath

jj2007

Quote from: mabdelouahab on March 06, 2024, 06:32:20 AMI've checked the executable's folder both after the first launch and again after running the program a second time, but I couldn't find the buildSE.bat file. It seems like it wasn't included in the version you sent me.

You are right, it was not included. Attached version 3 will do better.

@HSE:
- when opening a new file, and the old file had edits, you will be asked whether you want to save the edits
- you are right about not saving empty files

Quote from: sinsi on March 06, 2024, 02:34:07 AMCan I change the font?
Yessss - have a look at SimpleEditor.ini (edit with Notepad, not with SimpleEditor!)

NoCforMe

Wellll, I downloaded the latest one (V3). JJ, I'd say this is not even an alpha, let alone a beta:

o When I navigated to the folder where the file I wanted to edit is, the file-selection dialog showed files first, then folders, the reverse of the normal order.
o The files shown in this dialog weren't sorted, making it hard to find the file you want.
o When I picked a file (a 0.28 Mb ASM source), I got a blank screen. Nothing. Nada.
o When I clicked on "Save as" the window turned black. Still no text.

I don't think I'd trust this for actual use just yet. In fact, it seems completely no-operative.

Windows 7 Pro SP1 here.
Assembly language programming should be fun. That's why I do it.