D scheme / making portable

Discussion Forums discussion D scheme / making portable

This topic contains 0 voices and has 5 replies.

Viewing 6 posts - 1 through 6 (of 6 total)
Author Posts
Author Posts
November 11, 2006 at 2:54 am #143

bcat
Member

Hi simon. I just wanted to let you know that there are a couple problems with the D scheme in 2.0.7.610.

1) The .d extension isn’t associated with the D scheme, so D files come up as plain text by default.

2) The keyword list is incorrect. Here’s an updated version from the language spec:

abstract alias align asm assert auto body bool break byte case cast catch cdouble cent cfloat char class const continue creal dchar debug default delegate delete deprecated do double else enum export extern false final finally float for foreach foreach_reverse function goto idouble if ifloat import in inout int interface invariant ireal is lazy long mixin module new null out override package pragma private protected public real return scope short static struct super switch synchronized template this throw true try typedef typeid typeof ubyte ucent uint ulong union unittest ushort version void volatile wchar while with

3) The line/stream/box comment menu items don’t work. Line comments should start with //. Stream comments should be within /* ... */. What are box comments?

4) /+ ... +/ style nested comments are not supported at all.

November 11, 2006 at 3:27 am #15207

bcat
Member

Oops, I guess I forgot to write the second part of my post. :/ OK, well I’ll do that now. I’d like to take PN with me on my USB thumb drive, so I added a config.xml file as suggested in the “pn ini settings” thread. It did work, but not completely. I checked pn.exe with FileMon and RegMon, and it still made some registry and file accesses.

It read the recent find list from HKCUSoftwareEcho SoftwarePN2AutoCompleteFindToolbar. It also read the files in %APPDATA%Echo SoftwareProgrammer’s Notepad. The funny thing is it did this *after* it read the local config file. It did read/write settings to the correct location, at least.

BTW, thanks all the time and energy you put into PN! It’s the best lightweight editor on Windows, IMO. That’s why I’m here complaining about little things like this. :)

November 13, 2006 at 9:28 am #15208

simon
Key Master

Thanks, I’ll try and look at all this stuff this week. Could you please paste in a copy of your config.xml file so that I can see what’s in there? The portable stuff should work with recent builds (I know the registry stuff for autocomplete still needs fixing).

November 13, 2006 at 7:21 pm #15209

bcat
Member

OK, here’s my config.xml: <config><userSettings path="settings/" /><storeType value="Ini" /></config>

Again, settings/UserSettings.ini is created and used. I just can’t figure out why PN still reads files out of %APPDATA%.

November 23, 2006 at 9:38 pm #15210

simon
Key Master

Thanks, I’ve integrated the changes for D you suggest.

I’ve just loaded PN while running filemon and I don’t see it querying the Echo SoftwarePN2 application data folder. There are a few queries to Application Datadesktop.ini but this is part of Windows not the PN code. What build are you using? I’m testing with a 2.0.7 build.

December 2, 2006 at 4:17 am #15211

bcat
Member

Hmm, I just tested it with 2.0.7.640 and it still queries the APPDATA folder. Then again, it doesn’t actually do anything to the files, so I guess I’m just being anal. :)

Here’s the relevant FileMon entries:

67 10:10:15 PM pn.exe:3968 OPEN C: SUCCESS Options: Open Directory Access: All

68 10:10:15 PM pn.exe:3968 DIRECTORY C: SUCCESS FileNamesInformation

69 10:10:15 PM pn.exe:3968 DIRECTORY C: NO MORE FILES FileNamesInformation

70 10:10:15 PM pn.exe:3968 OPEN C:DOCUMENTS AND SETTINGS SUCCESS Options: Open Directory Access: All

71 10:10:15 PM pn.exe:3968 DIRECTORY C:DOCUMENTS AND SETTINGS SUCCESS FileNamesInformation

72 10:10:15 PM pn.exe:3968 DIRECTORY C:DOCUMENTS AND SETTINGS NO MORE FILES FileNamesInformation

73 10:10:15 PM pn.exe:3968 OPEN C:DOCUMENTS AND SETTINGSJON SUCCESS Options: Open Directory Access: All

74 10:10:15 PM pn.exe:3968 DIRECTORY C:DOCUMENTS AND SETTINGSJON SUCCESS FileNamesInformation

75 10:10:15 PM pn.exe:3968 DIRECTORY C:DOCUMENTS AND SETTINGSJON NO MORE FILES FileNamesInformation

76 10:10:15 PM pn.exe:3968 OPEN C:DOCUMENTS AND SETTINGSJONAPPLICATION DATA SUCCESS Options: Open Directory Access: All

77 10:10:15 PM pn.exe:3968 DIRECTORY C:DOCUMENTS AND SETTINGSJONAPPLICATION DATA SUCCESS FileNamesInformation

78 10:10:15 PM pn.exe:3968 DIRECTORY C:DOCUMENTS AND SETTINGSJONAPPLICATION DATA NO MORE FILES FileNamesInformation

79 10:10:15 PM pn.exe:3968 OPEN C:DOCUMENTS AND SETTINGSJONAPPLICATION DATAECHO SOFTWARE SUCCESS Options: Open Directory Access: All

80 10:10:15 PM pn.exe:3968 DIRECTORY C:DOCUMENTS AND SETTINGSJONAPPLICATION DATAECHO SOFTWARE SUCCESS FileNamesInformation

81 10:10:15 PM pn.exe:3968 DIRECTORY C:DOCUMENTS AND SETTINGSJONAPPLICATION DATAECHO SOFTWARE NO MORE FILES FileNamesInformation

82 10:10:15 PM pn.exe:3968 OPEN C:DOCUMENTS AND SETTINGSJONAPPLICATION DATAECHO SOFTWAREPN2 SUCCESS Options: Open Directory Access: All

83 10:10:15 PM pn.exe:3968 DIRECTORY C:DOCUMENTS AND SETTINGSJONAPPLICATION DATAECHO SOFTWAREPN2 SUCCESS FileNamesInformation

84 10:10:15 PM pn.exe:3968 DIRECTORY C:DOCUMENTS AND SETTINGSJONAPPLICATION DATAECHO SOFTWAREPN2 NO MORE FILES FileNamesInformation

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.