|
Post by Robert on Jun 4, 2024 9:22:51 GMT -5
Thanks Mueh, I was pretty sure there was some Win32 magic that could pull it off, but I don't usually delve into that area. I will have to try this.
This might be worth making a contributed macro for, if you felt like it.
R
|
|
|
Post by George on Jun 4, 2024 9:38:12 GMT -5
After much thought, I think the problem with 'losing' a Find/Change previous data when an intervening command does some type of line search is resolved. Cheers for Objects! The full featured search/change have their own parse object, every other command uses a 2nd parse object. Turned out to be a dozen code lines in total. I'll post a new Beta.
George
|
|
|
Post by mueh on Jun 4, 2024 9:40:12 GMT -5
Hi George ! vv or REVERT .10 gets 'Untrapped error #99' popup . Thanks
|
|
|
Post by George on Jun 4, 2024 9:52:46 GMT -5
MUEH: Thanks, another dumb duplicate keyword. Corrected - I was just about to post a new Beta, it will be in that one.
George
|
|
|
Post by ManfredU on Jun 5, 2024 8:31:56 GMT -5
Manfred: OK, I racked it down. It has to do with handling empty SET tables, and you had never before created a SET. It will be fixed next release, meanwhile here is your CFG file back - with the new SET ALIAS.UNNUM already done. This should work OK with your current version now that the table isn't empty. View AttachmentGeorge Yes, this is working. :-) Thank you, George!
|
|
|
Post by George on Jun 5, 2024 12:15:54 GMT -5
Robert: Your phrase support has been added. I simply extended the ALIAS to handle up to 3 'words'.
ALIASes are checked in order - 3 words, 2 words, one word.
So your example would be ALIAS.FIND.WORD=MODE WORD ALIAS.F.WORD=MODE WORD
Next Beta.
George
|
|
|
Post by Robert on Jun 5, 2024 12:32:06 GMT -5
I am very surprised and pleased to see this, especially since my example was just an ad hoc idea. This will help avoid creating cross-version incompatibilities. If these set symbols exist in older versions, they will effectively be ignored.
I tend to veer away from fixed size limits like 3, but in this case, a real-world usage would hardly ever need more than 2, I would guess.
You might consider adding these new alias types automatically to the SET table, if feasible. Again, just a thought.
Thank you.
R
|
|
|
Post by George on Jun 5, 2024 14:20:08 GMT -5
Well, it didn't take a lot. I was just working on the doc and it took twice as long. And you know my Doc style vs yours.
George
|
|
|
Post by mueh on Jun 13, 2024 2:48:07 GMT -5
Hi George ! When you moved CS DS to MODE cmd i think you removed them completly from CHANGE cmd . With 24069 and before 24156 CHANGE xxxx x CS could temporary override default . Now it fails with msg 'Operand: CS, exceeds the maximum allowed text operands' . I thought just CHANGE CS should now be MODE CS to change the default in profile . Thanks
|
|
|
Post by George on Jun 13, 2024 8:22:57 GMT -5
MUEH: Yes, sounds like I removed the keywords and shouldn't have. I'll check out FIND WORD|CHAR in case I did the same.
Thanks.
====== Yes, a bit too much cleanup, I've put them back. I checked FIND, all was OK there. Sorry about that. New Beta posted.
|
|
|
Post by George on Jun 14, 2024 14:47:33 GMT -5
Robert: Before releasing this next version, I'm undertaking an actual read and edit of all the HELP data (Yes, all 900+ pages).
There's been lots of places that need minor tweaks for things that have been missed over the years of updates. I'm in the middle of the "Working With ..." section and have hit "Line Tags" which includes details on TAG command usage.
Can I ask you to review it (you wrote it), especially the "Tag Command" and "Using Tags for line control ranges". Frankly I'm just overwhelmed, my eyes glazed over. There's about 5 pages of dense text. I'm not sure any user would plow through it and really grasp it.
The Hnd file will be included in the Source download (The Docs folder).
George
|
|
|
Post by Robert on Jun 14, 2024 15:01:42 GMT -5
Yes, I will review the entire topic of Tags, and I will also try to replicate every example that is there, to make sure that still work.
What version of HnD are you using? The current one already got up'd to 9.3. They seem to be making a new one every month.
R
|
|
|
Post by George on Jun 14, 2024 15:39:12 GMT -5
9.2.0.240
|
|
|
Post by mueh on Jun 15, 2024 1:51:48 GMT -5
Hi George ! I'm now at 24165 lvl and DS CS is now accepted in change cmd . Since V3.1 already if CS is set as default a CHANGE aaa a DS results in column shift . DEFAULT DS can be overwritten by CS . No problem in 24069 . When i did default DS test's i also noticed that with nullstring like (and sometimes with from/to string of different length and blank at end of to-string) CHANGE AAA '' DS a shift occures . Above cmd was okay long time ago in 8.1 Do i missunderstand the DS and should it work with different from/to length ? Here a test file DS.CLIP (128 B) Thanks
|
|
|
Post by George on Jun 15, 2024 9:24:12 GMT -5
MUEH: Good catch. Somehow CS/DS were being properly parsed, but the assignment of operands to flags was simple missing the DS assignment. I reviewed all the other similar flags, no others were missing.
Correcting that also seems to have corrected the DS.CLIP problem. I'll post a 24167 Beta.
George
|
|