• nTxt - Nspire Text Editor 5 1
Currently:  

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

0 Members and 2 Guests are viewing this topic.

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #45 on: December 08, 2012, 01:12:32 pm »
Very nice !

mdr1: BTW, do you have any details on which files made it crash for you?
There is a crash when I try to open/save/save as on the menu. I've got a CX CAS.



Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #46 on: December 15, 2012, 12:55:16 pm »
Ok, try this one. It should tell you to update if your ndless is too old.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #47 on: December 15, 2012, 01:57:16 pm »
Nope, still crashes. Im using the most recent OS and ndless.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #48 on: December 17, 2012, 02:27:06 pm »
Does it instantly crash when you press MENU or does it show something first? I don't have a physical CX and on the emulator it never crashes :(

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #49 on: December 17, 2012, 02:42:22 pm »
I can type whatever I want and it shows up, if I press Ctrl+O it asks whether I want to save it. Yes->Crash No->Crash
So it seems to be a problem with the file choose dialog (or whatever comes next)

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #50 on: December 17, 2012, 03:03:04 pm »
Ah, we're talking about those menus. Does the "test" msgbox in this build show up or does it crash before?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #51 on: December 17, 2012, 03:05:58 pm »
Crashes after the message.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #52 on: December 17, 2012, 03:07:57 pm »
And before the next one?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #53 on: December 17, 2012, 03:09:09 pm »
Same as nTxtTest.tns.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #54 on: December 17, 2012, 03:19:08 pm »
Then the problem is with the libndls function show_msg_user_input, if you're really sure that your ndless installation is the latest beta release (http://www.unsads.com/projects/nsptools/downloader/download/release/1).

Code: [Select]
int inputlen;
show_msgbox("test", "test");
inputlen = show_msg_user_input("Open File", "", path, &tmp);
show_msgbox("test2", "test2");
« Last Edit: December 17, 2012, 03:19:50 pm by lkj »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #55 on: December 17, 2012, 03:39:25 pm »
Tried to compile that, doesn't work, too.
Checked the version you linked to, wow 685 > 643.
At the time I downloaded it (1 month ago) it was listed as most recent version O.o
I try updating Ndless...

Edit: Works *facepalm*
« Last Edit: December 17, 2012, 03:43:22 pm by Vogtinator »

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #56 on: December 17, 2012, 03:47:00 pm »
So updating ndless has fixed the crashes?

Quote
Checked the version you linked to, wow 685 > 643.
At the time I downloaded it (1 month ago) it was listed as most recent version O.o
The SVN trunk is already at 730 ;)
« Last Edit: December 17, 2012, 03:47:12 pm by lkj »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #57 on: December 17, 2012, 03:52:40 pm »
Quote
So updating ndless has fixed the crashes?
Yes.. (still facepalming myself)
Quote
The SVN trunk is already at 730 ;)
For OS 3.3 already? ;)

Bug report: It doesn't want to react to Ctrl+O before you release Ctrl.
Feature request: File selector dialog: I can't remember how my files are called..

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #58 on: December 17, 2012, 04:44:55 pm »
Very well :)

Quote
For OS 3.3 already? ;)
No, "only" USB syscalls and some fixes :)

Quote
Bug report: It doesn't want to react to Ctrl+O before you release Ctrl.
Changed that. But I can't do anything about Ctrl+S not reacting until all keys are released.

I intend to make a filebrowser, but I remember hearing that it isn't too easy. And the rest of my code isn't perfectly stable yet, but I don't know where to look for bugs.

I have to write a paper for a final project at school, which I have to finish in the next four weeks, so I shouldn't work on nTxt too much...
« Last Edit: December 17, 2012, 04:48:56 pm by lkj »

Offline MasterGeek

  • LV2 Member (Next: 40)
  • **
  • Posts: 24
  • Rating: +0/-0
    • View Profile
Re: nTxt - Nspire Text Editor
« Reply #59 on: December 21, 2012, 06:28:32 pm »
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.