Author Topic: Editor changes possible for Mac?  (Read 3370 times)

0 Members and 1 Guest are viewing this topic.

Offline CBTJD

  • Newbie
  • Posts: 60
  • You're only as old as you feel. ...I'm screwed.
    • View Profile
Editor changes possible for Mac?
« on: April 20, 2020, 08:07:23 pm »
Are any of these changes to the editor possible with some simple edits to the source code?

1) Allow for CMD+C and V for copy and past instead of CTRL+C and V?
2) Change Function+Arrow to CMD+Arrow to highlight a line.
3) Change the behavior of the cursor when the screen is clicked to either go to the end of the line of text or at the point within the text where the line was clicked as opposed to wherever the mouse was clicked.
Thanks!  :@)
CBTJD: Coding BASIC Takes Judicious Dedication

FellippeHeitor

  • Guest
Re: Editor changes possible for Mac?
« Reply #1 on: April 20, 2020, 08:45:42 pm »
Nothing is simple with the IDE, even though it's been written in BASIC. All suggestions noted, though.

PS: All IDE code is in source/ide/ide_methods.bas <- always a fun read.

FellippeHeitor

  • Guest
Re: Editor changes possible for Mac?
« Reply #2 on: April 20, 2020, 08:51:31 pm »
Reading those suggestions again, I think I don't understand #3.

Offline CBTJD

  • Newbie
  • Posts: 60
  • You're only as old as you feel. ...I'm screwed.
    • View Profile
Re: Editor changes possible for Mac?
« Reply #3 on: April 20, 2020, 10:00:16 pm »
Reading those suggestions again, I think I don't understand #3.
Ah, sorry.Basically, the cursor is placed wherever I click on the editor screen. So, if I click in an empty part of the screen, the cursor goes there. that's of no use. Most editors I know will place the cursor at the end of the line of code on the horizontal line I clicked on.

So, when I left-click to place the cursor onto a line of code, if I click on the text, the cursor goes where I expect it to. But if click outside of the text, the cursor is placed exactly where I clicked, even if that place is far away from any code. I expect it to be placed at the end of the line of code just to the left of where I clicked. I'm not sure what value there is in having a cursor off in empty space.
:@)
CBTJD: Coding BASIC Takes Judicious Dedication

FellippeHeitor

  • Guest
Re: Editor changes possible for Mac?
« Reply #4 on: April 20, 2020, 11:34:38 pm »
Ah, I see your point now.

Quote
I'm not sure what value there is in having a cursor off in empty space.

You don't seem to have ever attempted to draw any ASCII art :-)

Offline CBTJD

  • Newbie
  • Posts: 60
  • You're only as old as you feel. ...I'm screwed.
    • View Profile
Re: Editor changes possible for Mac?
« Reply #5 on: April 21, 2020, 12:24:09 am »
Ah, I see your point now.

You don't seem to have ever attempted to draw any ASCII art :-)
Ah, yeah. I'm no artist. I always used online converters for ASCII art.
CBTJD: Coding BASIC Takes Judicious Dedication