Hi Mr.Spock,
Thanks a lot! I just managed to define a hotkey to filesearch like I am used to
from NoteTab (my fingers don't have to think twice to hit these) -- pretty easy
once you know and find out, and the functionality of PSPad is much better,
impressive! NoteTab is much faster, but doesn't show the lines, only the files -
it seems to stop once it finds an occurence in the file which might explain the
speed gain.
MrSpock:
--------------------------------------------------------------------------------
Could you be a little more specific on what you want to achieve
with the PHP debugging line you mentioned? Sounds like a typical script task to
me.
--------------------------------------------------------------------------------
To control functionality and data evaluation, I work with shortcuts like this:
debugMsg("|", $mixed);
debugMsg is a function which will render properly whatever $mixed might be,
string, any kind of array or object. Additional information might be filled in
manually at |.
This approach is great, but it is difficult to track if used extensively. Better
is
debugMsg("| file:FULL_PATH_TO_SOURCE", §);
or
debugMsg("| file:SOURCE_FILE", §);
and even better
debugMsg("| file:SOURCE_FILE, line:LINE_NUMBER", §);
The latter can't be done in NoteTab, as there is no support for line numbers. In
PSPad, I tried something like *%FileName%*, but it didn't work as
intended.
MrSpock:
--------------------------------------------------------------------------------
Generally, I recommend the use of scripts. If you have some
knowledge of JScript or VBScript, you'll see how useful they
are.--------------------------------------------------------------------------------
Thanks for the hint! No, I'm not familiar with these, but I learnt so many
languages in my life (including Delphi), it wouldn't be a big pain to learn
another one ;-)
Are there any tutorials I could study? I read about it in the help file and the
forum, it all sounded great, but it didn't really make sense to me, i.e. I
wouldn't know where to start and what to do.
Again: Pressing Ctrl+Space+Enter to invoke a replacement seems to be quite an
effort, give the simple solution everybody is used to through Word: Space alone
(or any one out of a number of other keys like dot etc) should do. What is the
reason we don't have this easy implementation in PSPad? For example, I have lots
of shortcuts based on 2 or 3 or very seldom 4 letters; it is highly productive
to invoke them with a single Space added.
Actually, this was the example in the clip definition file I used to learn:
*forr* (which I implemented slightly differently, using the same shortcut -
but actually, I wanted to check my memory and can't find the hint any more, not
even with Google :-| -- maybe it was included in the original PHP clip).
BTW: *Send replies to this thread to me via email* doesn't seem to work -
does the spam filter at gmx eat those?
--
<http://forum.pspad.com/read.php?2,46042,46058>
PSPad freeware editor http://www.pspad.com