Author Topic: Plain Old Editor  (Read 1115 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 10572
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Plain Old Editor
« Reply #15 on: December 25, 2022, 10:11:39 AM »
 :biggrin:

Embedding tabs ensures that the text will display badly on just about every editor ever written. Fine in a dedicated tool and if it works for you, great, but its hardly a model for anything else.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

jj2007

  • Member
  • *****
  • Posts: 13872
  • Assembly is fun ;-)
    • MasmBasic
Re: Plain Old Editor
« Reply #16 on: December 25, 2022, 10:18:38 AM »
Actually, my tabs display just fine in qEditor :biggrin:

However, there is still no scientific consensus :cool:

Quote
programmers that used spaces made an average of 9% more than coders who used tabs
...
Bill Gates, the most famous coder of all time, prefers tabs, and he has a net worth of around $89.2 billion


hutch--

  • Administrator
  • Member
  • ******
  • Posts: 10572
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Plain Old Editor
« Reply #17 on: December 25, 2022, 12:07:29 PM »
 :biggrin:

A case of the application of Occams razor.  :tongue:
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

zedd151

  • Member
  • *****
  • Posts: 1937
Re: Plain Old Editor
« Reply #18 on: December 25, 2022, 02:12:57 PM »
Actually, my tabs display just fine in qEditor :biggrin:
Coincidentally, qEditors 'tabs' display fine in Notepad, as well as Wordpad.  :tongue:  And woud likely display fine in RichMasm as well.  :icon_idea:
I say po-tay-toe, you say po-tah-toe.  :greensml:

When I open a asm source file (or any other file ftm) with 'hard tabs' (09h), I immediately convert all of those to spaces with my UnTab qeditor plugin
« Last Edit: December 28, 2022, 09:07:41 AM by zedd151 »
Regards, zedd.
:tongue:

jj2007

  • Member
  • *****
  • Posts: 13872
  • Assembly is fun ;-)
    • MasmBasic
Re: Plain Old Editor
« Reply #19 on: December 25, 2022, 10:00:33 PM »
:biggrin:

A case of the application of Occams razor.  :tongue:

Exactly: the simpler solution should be preferred. I need only one keystroke to insert a perfectly aligned comment :tongue:


zedd151

  • Member
  • *****
  • Posts: 1937
Re: Plain Old Editor
« Reply #20 on: December 25, 2022, 10:49:55 PM »
Exactly: the simpler solution should be preferred.
Exactly.  :rolleyes:  Plain ascii text. And use a tried and trued version of Rich Edit…  Simpler.  :tongue:  At least you dont have to fight with Rich Edit versions to 'make' them work properly, as the bugs in the older Rich Edit are well known.  :tongue:
http://masm32.com/board/index.php?topic=5383.0   :badgrin:
Regards, zedd.
:tongue:

jj2007

  • Member
  • *****
  • Posts: 13872
  • Assembly is fun ;-)
    • MasmBasic
Re: Plain Old Editor
« Reply #21 on: December 26, 2022, 12:21:01 AM »
You are confused, Z: I meant simpler for the user, not for the designer of the editor :badgrin:

zedd151

  • Member
  • *****
  • Posts: 1937
Re: Plain Old Editor
« Reply #22 on: December 26, 2022, 12:47:58 AM »
Quote
You are confused, Z: I meant simpler for the user, not for the designer of the editor :badgrin:
  :tongue:  Mary Xmas.  :biggrin:
Regards, zedd.
:tongue:

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 10572
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Plain Old Editor
« Reply #23 on: December 26, 2022, 02:52:19 PM »
jj,

Where we differ is in something very fundamental, the idea of automated actions combining a number of things together. While it is no big deal to auto-format in much the same way as the old GFABASIC editor, long ago I learnt that it comes with a multitude of evils. When it does something that you don't want, you have to try and undo it and with auto formatting, that is not always an easy task.

I wanted back then a pure ASCII editor which I eventually wrote that was entirely free of automated actions. My later editors all have the same brain, NO automated combined actions, each user choice is a separate action, not something the editor overrides. A liking for pure ASCII characteristics delivers a predictable and reliable means of writing code.

Now they do have a few tricks, block indent, tabs replaced with spacers and a reliable autoindent that does what it was designed to do, indent the following line with the same indent as the current one.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy:

daydreamer

  • Member
  • *****
  • Posts: 2367
  • my kind of REAL10 Blonde
Re: Plain Old Editor
« Reply #24 on: December 27, 2022, 02:17:28 AM »
You are confused, Z: I meant simpler for the user, not for the designer of the editor :badgrin:
Thanks, now I got idea of make it easier for user make a tile editor on top of my ascii encoded levels so far,only edited with ascii editor so far :thumbsup:
Hutch in some projects I prefer unicode caps editor,few bytes unicode characters instead of include icons and bitmaps, but seeing I coded right Chinese character is easier, than encoded dw 4123h,later might need to correct those numbers if it shows completely wrong characters


my none asm creations
http://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding