Author Topic: nTxt - Nspire Text Editor  (Read 139389 times)

0 Members and 1 Guest are viewing this topic.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #15 on: October 16, 2012, 01:41:45 pm »
Edit: Update

Now there's a menu for opening, saving and save as (additionally to the shortcuts) :)
O.O
* Hayleia clicks on +1 then on download :P
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #16 on: October 16, 2012, 01:43:49 pm »
If you have ideas how to make it look better, please tell me ;)

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #17 on: October 26, 2012, 04:22:46 pm »
Up and down arrow keys are finally implemented! But lines longer than what fits on the screen are still interpreted as one line.
And there's now a third button when pressing esc, so that you can cancel closing and keep the document open.

I've many ideas for new features, but I'm not sure which are important. What should I implement next?
« Last Edit: October 26, 2012, 04:23:09 pm by lkj »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #18 on: October 30, 2012, 02:52:22 am »
As always, great work :thumbsup:

I've many ideas for new features, but I'm not sure which are important. What should I implement next?
I think that a great addition would be text selection, then copy/cut and paste :D

About text enrichment (write in bold, etc), wouldn't that break compatibility with the PC txt format ?
If that doesn't, then you can add it too. If it does, according to me it is not a great loss to not have it ;)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: nTxt - Nspire Text Editor
« Reply #19 on: October 30, 2012, 03:04:37 am »
I don't care for text enrichment. If I want to emphasize something in a txt, I put it between /slashes/ or _underscores_.
What I would like is line numbers and a differently-colored entry line (like gedit) :)
I'm not a nerd but I pretend:

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: nTxt - Nspire Text Editor
« Reply #20 on: October 30, 2012, 03:14:52 am »
nTxt already allows typing raw markup text in txtrider/Hib-View/uView/WordRider rich text format, which is extremely more lightweight than TI's XML brain-damaged bloat.
What we would need is a reader for that format - effectively, a Nspire equivalent of Hib-View / uView.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #21 on: October 30, 2012, 10:44:25 am »
It's really a good program ! But you may improve those points :
- it is impossible to scroll, we can just go on the right or the left, and so to see a following page, we have tu click 2000 times on the right touch
- when  open your readme.txt with nTxt, a weird character appears on each new line
Good luck !



Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #22 on: October 30, 2012, 11:14:21 am »
- it is impossible to scroll, we can just go on the right or the left, and so to see a following page, we have tu click 2000 times on the right touch
This has already been implemented in the latest version with the support for the up and down keys :)

- when  open your readme.txt with nTxt, a weird character appears on each new line
This is because newlines are Unix style and you are probably opening a Windows readme ;)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #23 on: October 30, 2012, 11:19:02 am »
Thanks for your comments and suggestions :)

As always, great work ;D

I've many ideas for new features, but I'm not sure which are important. What should I implement next?
I think that a great addition would be text selection, then copy/cut and paste :D

About text enrichment (write in bold, etc), wouldn't that break compatibility with the PC txt format ?
If that doesn't, then you can add it too. If it does, according to me it is not a great loss to not have it ;)

I'll try text selection ;)

Yeah, text enrichment would need another format than txt. I don't know what txtrider and the others which Lionel mentioned are, I'll have to read up on it.

I don't care for text enrichment. If I want to emphasize something in a txt, I put it between /slashes/ or _underscores_.
What I would like is line numbers and a differently-colored entry line (like gedit) :)
So you think horizontal scrolling would be better than wrapping lines?

It's really a good program ! But you may improve those points :
- it is impossible to scroll, we can just go on the right or the left, and so to see a following page, we have tu click 2000 times on the right touch
- when  open your readme.txt with nTxt, a weird character appears on each new line
Good luck !
In the latest update you can also use the up/down arrows, is that still too inconvenient?

I know about the weird character, it's the carriage return which I didn't implement yet.


Should I use a different and smaller font?

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: nTxt - Nspire Text Editor
« Reply #24 on: October 30, 2012, 11:30:43 am »
The format initiated by the old and buggy txtrider, and IIRC slightly expanded by the newer and less unstable Hib-View and uView, is the de-facto standard rich text format on the TI-68k series :)
Years before TI came up with an ultra-heavyweight XML brain damage for the Nspire (made much worse in OS 3.2), the TI-68k series had formatted text (simple #-based markup that can be edited by humans with the standard text editor of the calculator) with bold, underline, multiple font sizes, image support, thanks to its programmability and the work of third-party programmers.
« Last Edit: October 30, 2012, 11:32:00 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: nTxt - Nspire Text Editor
« Reply #25 on: October 30, 2012, 11:33:02 am »
I would say text wrapping or horizontal scrolling should be optional to not break stuff. I actually never have it on, but whatever.

By the way, I just tested 08 and it crashes my calc on trying to save.
« Last Edit: October 30, 2012, 11:47:17 am by aeTIos »
I'm not a nerd but I pretend:

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #26 on: October 30, 2012, 12:10:46 pm »
So you think horizontal scrolling would be better than wrapping lines?
Mmh, with horizontal scrolling, it would be harder to see the whole text. But 2 touches for vertical scroll would be usefull.

Should I use a different and smaller font?
A smaller font would enable to see more text so I think it would be a great idea. But you can also give the choice with the menu.

Could you also add the possibility of opening several texts ? And the possiblity of copying/pasting would be great !



Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #27 on: October 30, 2012, 03:19:39 pm »
The format initiated by the old and buggy txtrider, and IIRC slightly expanded by the newer and less unstable Hib-View and uView, is the de-facto standard rich text format on the TI-68k series :)
Years before TI came up with an ultra-heavyweight XML brain damage for the Nspire (made much worse in OS 3.2), the TI-68k series had formatted text (simple #-based markup that can be edited by humans with the standard text editor of the calculator) with bold, underline, multiple font sizes, image support, thanks to its programmability and the work of third-party programmers.
Ah ok. So it's not necessary that I do something about it, because it would need a viewer and not new editor features.

I would say text wrapping or horizontal scrolling should be optional to not break stuff. I actually never have it on, but whatever.

By the way, I just tested 08 and it crashes my calc on trying to save.
Ok, that's not high priority then.

I can't reproduce this crash. How did you save (from the menu, save, save as or with ctrl+s)? And what filename/path did you enter?


So you think horizontal scrolling would be better than wrapping lines?
Mmh, with horizontal scrolling, it would be harder to see the whole text. But 2 touches for vertical scroll would be usefull.

Should I use a different and smaller font?
A smaller font would enable to see more text so I think it would be a great idea. But you can also give the choice with the menu.

Could you also add the possibility of opening several texts ? And the possiblity of copying/pasting would be great !

What do you mean by "2 touches for vertical scroll"? Multitouch on the touchpad? I believe that's not possible hardware wise.

Do you mean opening several texts simultaneously in tabs?

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: nTxt - Nspire Text Editor
« Reply #28 on: October 30, 2012, 03:31:08 pm »
Quote
Quote
The format initiated by the old and buggy txtrider, and IIRC slightly expanded by the newer and less unstable Hib-View and uView, is the de-facto standard rich text format on the TI-68k series :)
Years before TI came up with an ultra-heavyweight XML brain damage for the Nspire (made much worse in OS 3.2), the TI-68k series had formatted text (simple #-based markup that can be edited by humans with the standard text editor of the calculator) with bold, underline, multiple font sizes, image support, thanks to its programmability and the work of third-party programmers.
Ah ok. So it's not necessary that I do something about it, because it would need a viewer and not new editor features.
Yup, that's what I meant in http://ourl.ca/17190;msg=267239 by "nTxt already allows typing raw markup text" :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #29 on: October 30, 2012, 03:49:52 pm »
What do you mean by "2 touches for vertical scroll"? Multitouch on the touchpad? I believe that's not possible hardware wise.
2 touches for scrollling page per page, so faster than line per line.

Do you mean opening several texts simultaneously in tabs?
Yes, I do.