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

0 Members and 1 Guest are viewing this topic.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #165 on: November 09, 2015, 04:33:16 am »
With 'built-in documents' I meant the document editors that are part of the operating system of the Nspire.

Offline matteob92

  • LV3 Member (Next: 100)
  • ***
  • Posts: 40
  • Rating: +0/-0
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #166 on: November 09, 2015, 05:06:17 am »
With 'built-in documents' I meant the document editors that are part of the operating system of the Nspire.
Understood, and in which way I could take advantage of them?
Have you a tutorial?

Offline matteob92

  • LV3 Member (Next: 100)
  • ***
  • Posts: 40
  • Rating: +0/-0
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #167 on: November 25, 2015, 09:53:31 am »
Yesterday I've updated my CX CAS to OS 3.9.1.38 and ndless-ed it : if I go to [2] Documents -> ndless and open nTXT.tns, after clicking 'menu' and then 'Open Ctrl+0', after opening a file *.txt.tns that could be into the same folder or another creating by me I'm able to view its content, but the problem is that I can't use Ctrl's shortcuts.
For example, if I want to 'go to start of document' as indicated into readme.txt included in nTxt21'zip file, I press Ctrl+7 but I obtain only a '7' written into the document, as you can see here :
Where's my error?

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #168 on: November 26, 2015, 02:35:50 am »
You need to press 7 and ctrl at the same time, like on a computer. Did you do that?

Offline matteob92

  • LV3 Member (Next: 100)
  • ***
  • Posts: 40
  • Rating: +0/-0
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #169 on: November 26, 2015, 03:03:50 am »
You need to press 7 and ctrl at the same time, like on a computer. Did you do that?
No, was that my mystake : yesterday I found myself the solution, I was pressing before ctrl and then the number assigned thinking the calc would have memorized the blue ctrl featured as it does into math mode for 2nd functions on a key, and not at same time as you said.
Now for not make a mistake I before keep ctrl and then I push the key assigned to the option I want, this morning I payed attention to the readme.txt included and I must admit the program is great :)
I nave only a suggestion for when the document has a line enough long : I see tab key introduces much spacing but I think could be more useful to horizontal scrolling (for example, I see that a line could own till 40 characters, we could set it to scroll of 35 characters to the right and in this way we could view the whole content quickly, because the pad that goes on of 1 character/time is very low).
Have you an idea how to remap this key?

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #170 on: November 30, 2015, 03:09:50 am »
Adding a key for horizontal scrolling is a great idea.
But I don't really want to repurpose the tab key. I guess ctrl+4 to scroll left and ctrl+6 to scroll right would make sense.

Offline matteob92

  • LV3 Member (Next: 100)
  • ***
  • Posts: 40
  • Rating: +0/-0
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #171 on: November 30, 2015, 04:15:25 am »
Adding a key for horizontal scrolling is a great idea.
But I don't really want to repurpose the tab key. I guess ctrl+4 to scroll left and ctrl+6 to scroll right would make sense.

These combinations are yet here or you have to implement?
I suggested 'tab' because is used on pc this way, and pressing 1 single key is more quick and 'innocent' than pressing 2 at the same time (such during an exam, understand me)

EDIT : from what I see studying key map, also the 'trig' button that has yet an arrow-shaped could help us..

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #172 on: November 30, 2015, 05:50:03 am »
I have yet to implement it. Should be easy.
I'm used to tab being used on the PC the way it is used in nTxt. You're right that we could additionally map all this navigation stuff to the unused math keys.
With a bit more work it may also be possible to make controls customizable.

Offline matteob92

  • LV3 Member (Next: 100)
  • ***
  • Posts: 40
  • Rating: +0/-0
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #173 on: November 30, 2015, 06:39:33 am »


I have yet to implement it. Should be easy.
I'm used to tab being used on the PC the way it is used in nTxt. You're right that we could additionally map all this navigation stuff to the unused math keys.
With a bit more work it may also be possible to make controls customizable.

I'll live with this setup of tab key, hoping we would have success early what is your actual idea/choice about the key to assign?
I love this purpose, we could make this program still more useful and user-friendly : feel free to asking me for advices/reviews if you need :)

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #174 on: December 02, 2015, 02:00:51 pm »
I implemented the quick horizontal scrolling: scroll left with ctrl+4, right with ctrl+6.
Also, page up is now additionally mapped to the "Trig" key, page down to the "x^2" key, scroll left to the "e^x" key, scroll right to the "10^x" key.
As alway, code on github.
« Last Edit: March 13, 2017, 05:54:53 pm by lkj »

Offline matteob92

  • LV3 Member (Next: 100)
  • ***
  • Posts: 40
  • Rating: +0/-0
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #175 on: December 05, 2015, 09:24:25 pm »

I implemented the quick horizontal scrolling: scroll left with ctrl+4, right with ctrl+6.
Also, page up is now additionally mapped to the "Trig" key, page down to the "x^2" key, scroll left to the "e^x" key, scroll right to the "10^x" key.
As alway, code on github.

I hadn't participated in the last days because I was waiting for downgrading to 3.6 OS, today that I had performed it Omnimaga didn't work : I promise to try the new release tomorrow because I'm looking forward to see how you implemented my request.
If I could make 2 suggestions I think would be useful both inserting direct link to your Github into OP (because is only present into #159 message of Ott 11 2014) and uploading also here almost last release if not possible all the previous ones, because if happens again that we can't login to the forum we would have a mirror where downloading the program :)



Unfortunately I wasn't able to start the new version : I'm on OS 3.6.0.550 Ndless-ed, I've copied your 'nTxt.tns' to 'ndless' folder and also tried creating a new one with name 'nTxt.prg.tns' as shown into the image
But when I try to start the program from the calculator I obtain always the error "This kind of document is not supported.
NAMEFILE.tns" like this
I've also copied again the 'ndless.cfg.tns' and performed a new Ndless installation but without success, what can I do? What is the problem?

Edit (Eeems): Merged doublepost

« Last Edit: December 07, 2015, 09:12:49 pm by Eeems »

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #176 on: December 07, 2015, 01:33:25 pm »
It seems that you need to use the .prg.tns file if your Ndless version is older. If it still doesn't work, try updating your Ndless installation.


Edit:
If I could make 2 suggestions I think would be useful both inserting direct link to your Github into OP (because is only present into #159 message of Ott 11 2014) and uploading also here almost last release if not possible all the previous ones, because if happens again that we can't login to the forum we would have a mirror where downloading the program :)
Thanks for the suggestion. I'll look into it.

Offline matteob92

  • LV3 Member (Next: 100)
  • ***
  • Posts: 40
  • Rating: +0/-0
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #177 on: December 07, 2015, 06:51:51 pm »


It seems that you need to use the .prg.tns file if your Ndless version is older. If it still doesn't work, try updating your Ndless installation.


Edit:
If I could make 2 suggestions I think would be useful both inserting direct link to your Github into OP (because is only present into #159 message of Ott 11 2014) and uploading also here almost last release if not possible all the previous ones, because if happens again that we can't login to the forum we would have a mirror where downloading the program :)
Thanks for the suggestion. I'll look into it.

You're right, as written into nPDF's thread also in this case is necessary executing X.prg.tns version of a program when installed Ndless 3.6 (or however a previous version than the last available) :finally I got it :)
I love new key implementations because they're intuitive to press, very useful :D
P.s. I saw the line added into OP about Github ;)

Offline Legimet

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +29/-0
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #178 on: December 07, 2015, 08:49:41 pm »
As written in the nPDF thread,

Also, you don't need to use the PRG file on OS 3.6. The ndless_resources.tns file from Ndless 3.9 that has Zehn support actually works on 3.1 and 3.6. Just replace your ndless_resources.tns with the one from 3.9, nPDF.tns should run. Unfortunately, this isn't well-documented.

I'll have to try your latest nTxt version, lkj. I think I have version 11 on my calc :P

Offline matteob92

  • LV3 Member (Next: 100)
  • ***
  • Posts: 40
  • Rating: +0/-0
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #179 on: December 08, 2015, 05:31:12 am »


As written in the nPDF thread,

Also, you don't need to use the PRG file on OS 3.6. The ndless_resources.tns file from Ndless 3.9 that has Zehn support actually works on 3.1 and 3.6. Just replace your ndless_resources.tns with the one from 3.9, nPDF.tns should run. Unfortunately, this isn't well-documented.

I'll have to try your latest nTxt version, lkj. I think I have version 11 on my calc
In fact I didn't know this workaround, I had always believed is purely a compatibility problem as written into post #58 of that thread by Vogtinator
Happy to has learnt a new thing, probably I'll make the switch after the exam to avoid the 'kind of document not supported' in the future ;) (I don't know what differ exactly from the 'X.tns' to the 'X.prg.tns')
However update your 11 version, lkj has done an amazing job with 24