Author Topic: New editor.  (Read 1460 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8123
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
New editor.
« on: November 13, 2020, 11:19:02 AM »
I have coded this one to use in part as a template for others I need to make from time to time. It has threaded file IO, does its confirmation correctly, it will load files > 100 megabytes, a novel technique for tooltips, it is FAST and its cute.  :tongue:

ATTACHMENT reloaded to fix error.

For folks who don't have access at a PB compiler, I have posted a near identical 64 bit MASM version which has a much larger capacity.

http://masm32.com/board/index.php?topic=8954.0
« Last Edit: November 21, 2020, 06:39:48 PM by hutch-- »
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

Vortex

  • Member
  • *****
  • Posts: 2506
Re: New editor.
« Reply #1 on: November 13, 2020, 05:00:16 PM »
Very nice work :thumbsup:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8123
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: New editor.
« Reply #2 on: November 13, 2020, 09:32:30 PM »
Thanks Erol, seems to do the job OK.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

HSE

  • Member
  • *****
  • Posts: 1547
  • <AMD>< 7-32>
Re: New editor.
« Reply #3 on: November 14, 2020, 01:21:03 AM »
Build well  :thumbsup:

stevenxie

  • Regular Member
  • *
  • Posts: 45
Re: New editor.
« Reply #4 on: November 14, 2020, 08:59:03 PM »
hi,HUTCH,you are very good.however, it has happened a small bug in MY chinese verion WINDOWS 10. FONT SIZE IS TOO Small so that i can't  right edit the text.


hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8123
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: New editor.
« Reply #5 on: November 14, 2020, 09:23:00 PM »
Its an example for the PowerBASIC compiler so while its easy enough to change the font size and type, you need to be able to build it to do so. The font used is the "fixedsys" font which may end up too small depending on your display resolution. What I don't know is the difference between a Chinese version and a US/UK version of Win10.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

stevenxie

  • Regular Member
  • *
  • Posts: 45
Re: New editor.
« Reply #6 on: November 14, 2020, 09:41:21 PM »
Its an example for the PowerBASIC compiler so while its easy enough to change the font size and type, you need to be able to build it to do so. The font used is the "fixedsys" font which may end up too small depending on your display resolution. What I don't know is the difference between a Chinese version and a US/UK version of Win10.
However, I edit in the QEDIT.EXE without similar problems. QEDIT.EXE is very convenient to use, powerful, so that I basically do not need other IDE to code.

stevenxie

  • Regular Member
  • *
  • Posts: 45
Re: New editor.
« Reply #7 on: November 14, 2020, 09:51:33 PM »
Hi ,HUTCH,
 hFont =get_font_handle (12,9,600," fixedsys ")
 SendMessage hEdit,%WM_SETFONT,hFont,%TRUE
 Can I change the corresponding value in the above original code and rebuild the source program to achieve the effect I need?
 I am sorry, there is no POWER BASIC. in my computer system I don't know where PWOERBAsIC can download to the latest version.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8123
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: New editor.
« Reply #8 on: November 14, 2020, 10:17:37 PM »
PowerBASIC is commercial software, it cannot be downloaded for free. I can change the font name in a hex editor but cannot find the settings for the font.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

jj2007

  • Member
  • *****
  • Posts: 11139
  • Assembler is fun ;-)
    • MasmBasic
Re: New editor.
« Reply #9 on: November 14, 2020, 10:34:05 PM »
The font used is the "fixedsys" font

Recompile it with Lucida Sans Typewriter. That font is scalable, i.e. hold Ctrl and use the mousewheel to choose the right size.

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8123
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: New editor.
« Reply #10 on: November 14, 2020, 10:48:45 PM »
Yes, that works well,

consolas
courier new
lucida console

I will do a cooked version as I don't want the original changed.

Would anyone want it in old Microsoft blue with light grey test ? Emulation of the 1990 PWB.

ATTACHMENT HAS BEEN RELOADED
« Last Edit: November 15, 2020, 12:07:28 AM by hutch-- »
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

stevenxie

  • Regular Member
  • *
  • Posts: 45
Re: New editor.
« Reply #11 on: November 14, 2020, 10:50:54 PM »
The font used is the "fixedsys" font

Recompile it with Lucida Sans Typewriter. That font is scalable, i.e. hold Ctrl and use the mousewheel to choose the right size.
hi,VROTEX.I haven't mastered this technique yet

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 8123
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: New editor.
« Reply #12 on: November 14, 2020, 10:55:31 PM »
With the version posted above, just the binary, hold down the CTRL key and move the scroll wheel on the mouse.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

jj2007

  • Member
  • *****
  • Posts: 11139
  • Assembler is fun ;-)
    • MasmBasic
Re: New editor.
« Reply #13 on: November 14, 2020, 10:58:14 PM »
With the version posted above, just the binary, hold down the CTRL key and move the scroll wheel on the mouse.

Works fine! Note Hutch means the updated version in reply #10, i.e. not the top post.

stevenxie

  • Regular Member
  • *
  • Posts: 45
Re: New editor.
« Reply #14 on: November 14, 2020, 11:04:07 PM »
With the version posted above, just the binary, hold down the CTRL key and move the scroll wheel on the mouse.
HI,HUTCH,I AM SUCCESSFULL
 :eusa_boohoo: