Page 1 of 1

it asks me twice

PostPosted: Sun Jan 31, 2010 12:51 pm
by equack
Using beta 4, if I close a file that has been modified it asks me if I want to save my changes.

If I say no it asks me the same thing a second time.

Re: it asks me twice

PostPosted: Sun Jan 31, 2010 10:25 pm
by scottmartinez
Can you update to beta 5 and tell me if you still see the same problem? There have been lots of little tweaks to the handling of multiple documents and this may have been fixed.

Thanks,
Scott

Re: it asks me twice

PostPosted: Mon Feb 01, 2010 8:36 pm
by equack
Scott,

I updated to beta 5 and it still happens.

I think I may have had beta 5 all along. The "About NCPlot" menu just says 2.20 and does not identify the beta release number.

While I'm thinking of it, is there any way you can assign a menu alt-hotkey to "Calc/Show Variables". Right now I have to hit four keys (alt-c, down, down, enter) to open it. Since I can't dock it
I open and close it a lot.

Thanks!

-Erik

Re: it asks me twice

PostPosted: Mon Feb 01, 2010 9:01 pm
by scottmartinez
Erik,

To see the current beta revision you have to open the release notes - "Help / Release Notes". I've been playing with the variable display window and as you can see from the attached pic I've made it a dockable window. I will probably make a default shortcut key for it as soon as I decide what to use. Meanwhile you can do this a couple of ways... You can edit the shortcut keys for all of the menu items by right clicking a toolbar and selecting "Customize" from the popup menu. Then click "Keyboard" on the customize window that appears. From this window you can also add menu items to existing toolbars or create a new toolbar with your commonly used items.

Hope this helps,
Scott

Re: it asks me twice

PostPosted: Tue Feb 02, 2010 3:08 pm
by equack
It helps! Thank you. I'm still learning my way around the program and I have clearly not studied the documentation.

Here's another thing I noticed: The way you handle tab stops does not match the Windows notepad.exe. I have attached an example .nc file. If you open it in NC Plot the comments appear justified. If you open the same file in notepad.exe they do not. I also tried Visual Basic express 2009, Dreamweaver MX 2004, and phpBB. The odd thing is that the tabs do look right in WordPad and MS Word 2000. I'm not sure which way is better, but I have notepad.exe on my Tormach machine and the g-code I write in NC Plot looks funny when I have to edit it on the machine.

(tab test) (four tabs)
#100=1.0 (these)
#101=1.00 (comment)
#102=1.000 (lines)
#103=1.0000 (which)
#104=[1+2+3] (appear)
#105=[1+2+10] (justified)
#106=[10+2+10] (in the)
#107=[10+10+10] (NC Plot)
#108=[10+100+10] (editor)
#109=[100+10+100] (are not)
#110=[100+100+100] (rendered)
#111=[100+1000+100] (the same)
#112=[1000+100+1000] (way in)
#113=[1000+1000+1000] (phpBB)
#114=[12.432+5.2+6.12] (and many other tools)

Re: it asks me twice

PostPosted: Tue Feb 02, 2010 3:19 pm
by equack
Oh- that's funny. Not only did it not upload the attachment, it removed the tabs completely.

OK- I try to upload to phpBB and it tells me "the extension nc is not allowed". It also says "the extension txt is not allowed". It won't take a blank extension. It won't take RTF or DOC. It won't take the file if I rename it JPG because it can't determine the dimensions of the image [sigh].

Here is a link to the file: http://www.quackenbush.com/tab-example.nc

And here it is in an HTML "code" block:

Code: Select all
(tab test)            (four tabs)
#100=1.0            (these)
#101=1.00            (comment)
#102=1.000            (lines)
#103=1.0000            (which)
#104=[1+2+3]         (appear)
#105=[1+2+10]         (justified)
#106=[10+2+10]         (in the)
#107=[10+10+10]         (NC Plot)
#108=[10+100+10]         (editor)
#109=[100+10+100]         (are not)
#110=[100+100+100]      (rendered)
#111=[100+1000+100]      (the same)
#112=[1000+100+1000]      (way in)
#113=[1000+1000+1000]      (Windows Notepad.exe)
#114=[12.432+5.2+6.12]      (and most other tools)


Re: it asks me twice

PostPosted: Tue Feb 02, 2010 6:00 pm
by scottmartinez
I did a little digging and it looks like I can adjust where the tab stops are in NCPlot, so I'll play around a bit and see if I can make this adjustable. I have not seen the problem with it asking me to save a file more than once on exit though.

And I updated the board settings so that text files can be attached, this was disabled.

Thanks,
Scott

Re: it asks me twice

PostPosted: Tue Feb 02, 2010 7:30 pm
by equack
I am running Vista. To reproduce:

1. File Menu->New
2. Type a line of text into the window (blah)
3. File Menu->Close
4. It asks if I want to save
5. I say no
6. It asks again
7. Saying no works the second time.

It does not matter if I use the mouse or the keyboard (alt-F, alt-C) to close the file, click no, etc.

It does not matter whether I have other files open.

-Erik

Re: it asks me twice

PostPosted: Tue Feb 02, 2010 8:21 pm
by scottmartinez
OK, I see it now! It looks like it only does this when you close the file via the File / Close menu. I'll get this fixed.

Thanks,
Scott