You are here: PSPad forum > English discussion forum > Code Explorer
Posted by: pythonui | Date: 2015-03-09 12:34 | IP: IP Logged
Is there any way to implement own code explorer(tree) for any file extension/type?
i.e , I have file extension "adap" (example) for that how can i?
Edited 1 time(s). Last edit at 2015-03-09 12:35 by pythonui.
Posted by: pspad | Date: 2015-03-09 12:37 | IP: IP Logged
Code explorer user definition isn't possible at the presence. But if you will send me source code (samples with all possible cases) and description what do you want to see in the Code explorer, I will add it.
Posted by: pythonui | Date: 2015-03-09 12:41 | IP: IP Logged
I have something like this in my file
Content:
---------
04-Mar-15
---------
=> Test1
---------
05-Mar-15
---------
=> Test2
Need:
I have no problem with extension.
Currently I have file with "tasks" extension.
I need to explore dates pattern in explorer only dates is there(like variables).
on select go to that date line(as in all case).
Edited 3 time(s). Last edit at 2015-03-09 12:47 by pythonui.
Posted by: pspad | Date: 2015-03-09 13:02 | IP: IP Logged
There is PSPad scripting what can help you. E.g. ToDo script search for pattern and list it for you.
Or you can use simple search dialog with regular expressions.
Search for: ^\d{2,2}\-\w{3,4}\-\d{2,2}
[x]Regular expressions
And press List button
When you click on line in the result window, PSPad will brings you to line in original text.
Posted by: pythonui | Date: 2015-03-09 13:06 | IP: IP Logged
Nice solution
But every time I have to search for " ^\d{2,2}\-\w{3,4}\-\d{2,2} " and list it and select it.
Not an issue.I will manage with this. :D
Any other fast shortcut for this ?
Thanks
Edited 1 time(s). Last edit at 2015-03-09 13:07 by pythonui.
Posted by: pspad | Date: 2015-03-09 13:24 | IP: IP Logged
As I wrote, you can use PSpad scripting and made same thing using scripting similar as ToDo script does it. Then you will be able to call it with shortcut.
Posted by: pythonui | Date: 2015-03-10 03:09 | IP: IP Logged
Where can I find PSPAD scripting?
Posted by: pspad | Date: 2015-03-10 04:26 | IP: IP Logged
Ïf you don't see menu script, go to program settings / System integration and enable scripting support.
Some information are in the help or you can use file readme.rtf in the subfolder script
Posted by: pythonui | Date: 2015-04-13 11:52 | IP: IP Logged
Hello,
I need to create pspad script for finding dates from my file and list it some where.On click date it would go to that line.
Is it possible ?
Thanks
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR