• nTxt - Nspire Text Editor 5 1
Currently:  

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

0 Members and 3 Guests are viewing this topic.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #60 on: December 24, 2012, 07:37:13 pm »
You can now search your text for a string :)
Find string: Ctrl+F, find next: Ctrl+G, find previous: Ctrl+Shift+G

There are also some fixes to the selection of text and if the installed ndless is too old, it tells you to update instead of crashing.


For the file browser how about talking to hoffa about somehow integrating either Ndless Commander into nTxt or nTxt into Ndless Commander? There is source code so you could play around with it for a bit.
There are at least three file browsers I could look at, but I would still need some time.

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #61 on: December 27, 2012, 06:30:40 pm »
Really good ! Thank you !
I updated ndless and now it works perfectly.
But there's a weird thing : it became impossible to enter the "<" character.



Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #62 on: December 27, 2012, 06:48:02 pm »
Thanks :)

But there's a weird thing : it became impossible to enter the "<" character.
Oops, I've broken all characters for which you have to press the ctrl key :(
But it's easy to fix, will be fixed in the next release.

Btw, do you have a suggestion for keys for an equivalent of HOME and END on the pc keyboard?

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: nTxt - Nspire Text Editor
« Reply #63 on: December 27, 2012, 06:50:03 pm »
Can you take ctrl-left and ctrl-right? then you could make these home and end, and ctrl-shift-right/left to select them, just like normal pc's

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #64 on: December 27, 2012, 06:53:35 pm »
Oops, I've broken all characters for which you have to press the ctrl key :(
But it's easy to fix, will be fixed in the next release.
Well, it disables me to program on BrainFuck which requires lots of "<". :P



Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #65 on: December 27, 2012, 08:56:12 pm »
Fixed your problem and added a filebrowser. It's still ugly, though. DON'T open themes.csv or files outside of /documents/, it will make your calc hang or crash as soon as you exit nTxt. And it doesn't display them correctly. I don't know exactly why, will look into this.

Can you take ctrl-left and ctrl-right? then you could make these home and end, and ctrl-shift-right/left to select them, just like normal pc's
Ok, I'll do that.
« Last Edit: December 28, 2012, 03:20:27 pm by lkj »

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #66 on: December 28, 2012, 06:08:15 pm »
Home and end added as ctrl+left and ctrl+right, but I just noticed that the cursor can't be placed after the last letter on a line longer than what fits on the screen the way I currently handle the cursor, as it's at the start of the next line then. Would you mind if I let it that way? Because else I'd have to do a hacky solution :S

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #67 on: December 28, 2012, 06:19:43 pm »
Can't you do it like nano?

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #68 on: December 28, 2012, 06:21:58 pm »
How does nano do it? I only know Windows programs
« Last Edit: December 28, 2012, 06:22:16 pm by lkj »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #69 on: December 28, 2012, 06:32:47 pm »
Hmm, don't know how to describe..
It does like PgUp/PgDown on that line if you go too far and displays a "$" at the beginning.

Code: [Select]
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaac$         ->   $aaaaccccccccbbbbbbbbbbbbbbbbbba
                              ^Cursor              ^Cursor
« Last Edit: December 28, 2012, 06:41:28 pm by Vogtinator »

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #70 on: December 28, 2012, 06:34:34 pm »
You mean it has horizontal scrolling and end scrolls one screen width to the left?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #71 on: December 28, 2012, 06:40:53 pm »
Yes *facepalm myself*...
It does also indicate with a "$" at the end of a line it's longer than the screen.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #72 on: December 28, 2012, 06:43:45 pm »
I initially didn't want to support that type of linewrapping (as I don't particularly like it in TI's OS), but everyone answer here who would also like that, so I can see if many people request it. Edit: found out how to add a poll. Vote!
« Last Edit: December 28, 2012, 06:55:16 pm by lkj »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #73 on: December 28, 2012, 06:53:10 pm »
Im getting some Ideas..
How about implementing touchpad mouse support?
If you hold down CTRL while using the touchpad you can use the cursor like a mouse?
And if you're moving the cursor while pressing the touchpad/holding down SHIFT, you'd be able to scoll?

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #74 on: December 28, 2012, 06:57:37 pm »
Added a poll about the horizontal scrolling thing.
I don't know about the mouse cursor (as I think it would be rather difficult to program), but scrolling with the touchpad is definitely something I want to add. I don't know yet how I'll do it exactly, though, as I haven't started implementing it.
« Last Edit: December 28, 2012, 06:58:27 pm by lkj »