=?windows-1250?Q?Re:_How_to_stop_CTRL-A_to_put_Cursor_to_end_of_file?_[48733]?=

2009-01-14 Tema obsahu Vlastimil Brom
pspad:

Use PSPad scripting and write simple script for it



Indeed, just two trivial functions needed - to save the caret position and
select text and, reversely, restore the caret position. (if deselect is called
alone, it will eventually move the caret to the previously saved coordinates).
The following text can be saved in the given location and if the WSH is enabled
in PSPad system settings, after Scripts :: Recompile, there should be new
entries in this menu; the keyboard shortcuts can be modified as needed.



// ... PSPad\script\JScript\selectAll.js 
var module_name = "SelectAll";
var module_ver = "1";

var memCaretPosX=-1;
var memCaretPosY=-1;
function selectAllSaveCaret(){
if (editorsCount()<1){return;}
var actEd = newEditor();
actEd.assignActiveEditor();
memCaretPosX=actEd.caretX();
memCaretPosY=actEd.caretY();
runPSPadAction("aSelectAll");
}

function deselectRestoreCaret(){
if (editorsCount()<1){return;}
var actEd = newEditor();
actEd.assignActiveEditor();
actEd.setCaretPos(memCaretPosX, memCaretPosY)
}


function Init(){
addMenuItem("select all + save caret", "",
"selectAllSaveCaret","Ctrl+Alt+Shift+A");
addMenuItem("restore caret", "", "deselectRestoreCaret","Ctrl+Alt+Shift+D");
}

-- 

PSPad freeware editor http://www.pspad.com


=?windows-1250?Q?Re:_How_to_stop_CTRL-A_to_put_Cursor_to_end_of_file?_[48732]?=

2009-01-14 Tema obsahu Jan Fiala
Use PSPad scripting and write simple script for it

-- 

PSPad freeware editor http://www.pspad.com


=?windows-1250?Q?How_to_stop_CTRL-A_to_put_Cursor_to_end_of_file?_[48731]?=

2009-01-14 Tema obsahu syntech
Is it already possible to stop CTRL-A (select all) from putting the cursor to
the end of the file?

-- 

PSPad freeware editor http://www.pspad.com


=?windows-1250?Q?Re:_Change_font?_[48730]?=

2009-01-14 Tema obsahu Damion Hankejh
Hi fischnackdissen,

Check this forum post:
http://forum.pspad.com/read.php?2,41971,41973#msg-41971

-- 
Hankejh, [url=http://www.linkedin.com/in/hankejh]LinkedIn[/url], 
[url=http://ActiveCause.com]ActiveCause[/url]
[img]http://ingk.com/images/pspad_33x56.png[/img]


PSPad freeware editor http://www.pspad.com


=?windows-1250?Q?Change_font?_[48729]?=

2009-01-14 Tema obsahu fischnackdissen
Firstly, sorry for my english :)

Where can I found more fonts?
The point "format/fonts" shows only 8 fonts:
- Courier New
- Fixedsys
- Letter Gothic
- Lucida Consule
- Orator Std
and 3 ones more...

Can I put Arial or Verdana into a folder?

Thx for helps.

Fisch

-- 

PSPad freeware editor http://www.pspad.com


=?windows-1250?Q?Schedule_for_next_PSPad_release_build?_[48728]?=

2009-01-14 Tema obsahu syntech
@Jan:

Any plans to release a new, stable PSPad version?

-- 

PSPad freeware editor http://www.pspad.com


Re: PSPad unicode 4.5.4 (2335) Cesky - Bookmarks [48727]

2009-01-14 Tema obsahu Dalibor Mašek
Pravda, už to vidím.
Opravdu se záložky nechovají vždy předvídatelně
a proto je to otázka.

DaM

-- 

PSPad freeware editor http://www.pspad.com