Author Topic: TI Basic Editor  (Read 19921 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI Basic Editor
« Reply #45 on: May 19, 2010, 11:46:43 pm »
yeah true, for now the most important thing to do is make sure no crashes occurs and that the editor works fine. How is key detection btw? That's one major issue I have on the TI-Nspire 84+ keypad
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI Basic Editor
« Reply #46 on: May 19, 2010, 11:51:17 pm »
Heh, right now there isnt even any editing features.  I am still trying to get it to be able to display the programs correctly, as well as scroll up and down.  I am working on some subs to help me, like displayToken, diplsyLine, displayScreen, newLine, moveUp, and moveDown.

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: TI Basic Editor
« Reply #47 on: May 19, 2010, 11:51:41 pm »
DJ, I don't think your problem would be solved regardless of what builderboy does becasue the small font is not going to take up 16 columns anyway, its variable width, and he is using automatic indents on top of all that.  You can use both editors at any time though, its not like you have to use only one of them, so you can always get the best of both worlds and just switch whenever you feel its more convenient.

Builderboy there is a way to make it display small fonts, but its a somewhat longer routine, I can give you the hex if you want, but I don't know if its useful since it looks like you're trying to make it a fixed width font.
« Last Edit: May 19, 2010, 11:52:53 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI Basic Editor
« Reply #48 on: May 20, 2010, 12:02:15 am »
oh yeah right forgot about that x.x

Altough if he makes lines selectable for editing with word-wrap, he could use the big fonts and it would go back to 16x8
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI Basic Editor
« Reply #49 on: May 20, 2010, 12:04:08 am »
Heh, then i would have to write a small font editor *and* a large font editor :P well at least one thing is for sure, using line wrap on the small font wont help map makers, so i am officially doing the one line scrolling thing

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: TI Basic Editor
« Reply #50 on: May 20, 2010, 04:49:20 pm »
so i am officially doing the one line scrolling thing
Awesome!  I like that idea.  Could [2nd] [Left or Right] go to the next page of code instead of to the end of the line?

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: TI Basic Editor
« Reply #51 on: May 20, 2010, 05:20:48 pm »
so i am officially doing the one line scrolling thing
Awesome!  I like that idea.  Could [2nd] [Left or Right] go to the next page of code instead of to the end of the line?
I think it is better to make [2nd] [Left or Right] should go to the being or end of line and [2nd] [Down or Up] go one page down or one page up.
Because if wordwrap is off, a way to go the end of line is useful and is more intuitive that [Down] goes one page down.
Hobbing in calculator projects.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: TI Basic Editor
« Reply #52 on: May 20, 2010, 05:41:40 pm »
I think it is better to make [2nd] [Left or Right] should go to the being or end of line and [2nd] [Down or Up] go one page down or one page up.
Because if wordwrap is off, a way to go the end of line is useful and is more intuitive that [Down] goes one page down.
Wouldn't it be better to have [Alpha] [Down or Up] to go one page down or one page up since that's what happens in the normal Ti-basic editor?

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI Basic Editor
« Reply #53 on: May 20, 2010, 05:55:29 pm »
I am most likely going to keep all menus, controls, and menus the same as in the regular TiOS, just so i dont confuse people or experienced speed coders.

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: TI Basic Editor
« Reply #54 on: May 20, 2010, 05:58:44 pm »
I think it is better to make [2nd] [Left or Right] should go to the being or end of line and [2nd] [Down or Up] go one page down or one page up.
Because if wordwrap is off, a way to go the end of line is useful and is more intuitive that [Down] goes one page down.
Wouldn't it be better to have [Alpha] [Down or Up] to go one page down or one page up since that's what happens in the normal Ti-basic editor?
Oh, yes, I confused the [2nd] with [Alpha]. Maybe [2nd] for going to the end of lines/pages and [Alpha] for next page.
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI Basic Editor
« Reply #55 on: May 20, 2010, 06:53:04 pm »
I am most likely going to keep all menus, controls, and menus the same as in the regular TiOS, just so i dont confuse people or experienced speed coders.
Idea: for the CLEAR button, I would add an option in the BASIC editor where by default, the calc asks you to confirm if you try to delete a line of code. A major issue about the current BASIC editor is that people accidentally their code because the CLEAR key is too close to the down arrow. In some cases (example, when entering an extremly long string of character, a huge matrix or the like) it's almost as bad as a RAM clear.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI Basic Editor
« Reply #56 on: May 20, 2010, 07:19:48 pm »
Yeah that sounds like a good idea :) Like maybe if you have 15 or more characters in a line it asks you to confirm. 

Currently I have a cursor that is working and able to move around and explore the program.  I had to take out indenting though, and once i get program reading/writing finished ill work on putting that back in.  I also am expirmenting with non mono-spaced fonts but its not decided yet.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: TI Basic Editor
« Reply #57 on: May 20, 2010, 08:04:45 pm »
Cool!  This is really neat! :D

I am most likely going to keep all menus, controls, and menus the same as in the regular TiOS, just so i dont confuse people or experienced speed coders.
Idea: for the CLEAR button, I would add an option in the BASIC editor where by default, the calc asks you to confirm if you try to delete a line of code. A major issue about the current BASIC editor is that people accidentally their code because the CLEAR key is too close to the down arrow. In some cases (example, when entering an extremly long string of character, a huge matrix or the like) it's almost as bad as a RAM clear.
Could you have an undo (like [ctrl] + [z] on a comp) to protect in case of this?  [Alpha] [Del] maybe...

Yeah that sounds like a good idea :) Like maybe if you have 15 or more characters in a line it asks you to confirm. 
I think this is a bad situation regardless, so could you have an option menu to turn the clear to delete on and off.  The clear confirm should ask you to confirm (imho) if there are any characters on the line (it's not blank.)

Is this meant to emulate the 84+ oses, 83+ oses, or 84+ MP os?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI Basic Editor
« Reply #58 on: May 20, 2010, 08:07:40 pm »
wouldn't undo takes a lot of memory, though?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: TI Basic Editor
« Reply #59 on: May 20, 2010, 08:15:46 pm »
wouldn't undo takes a lot of memory, though?
Unfortunately, it probably would. =/