[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta
Subject: Re: [Quanta] Hot-keys
From: malcolm <malcolm.rogers () gmail ! com>
Date: 2008-07-22 18:22:58
Message-ID: 48862582.4040101 () gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thank you for the reply, Eric,
I have been fiddling around, and have just discovered what the <join
lines> function does. :)
Thank you very much anyway,
Warmest Regards,
malcolm
Eric Laffoon wrote:
> On Tuesday 22 July 2008 5:33:08 am malcolm wrote:
>
>> Hello, All,
>>
>> I'm wondering if it's possible to bind a series of key-strokes to a
>> hot-key. For example, i have some very large documents to re-format, and
>> the lines are very short, so to lengthen them i find it necessary to press
>> <end> <space> <del>, but it's easy to mis-stroke and run words together or
>> introduce unwanted double-spaces.
>>
>> Can anyone tell me if it is possible to do this, and maybe - if it is -
>> to give me some guidance?
>>
>> Thank you.
>>
>> Warmest Regards,
>> malcolm
>>
>>
>
> Please see the docs regarding Actions. They enable you to create scripts and
> bind a key. Now if you stop thinking in terms of keystrokes and think in
> terms of what you want to do you could...
>
> - use sed to replace \n with a space in a selected block (in fact you could
> even do this with the find and replace using regexp)
>
> - use DCOP to move the cursor
>
> This is really just some of the possiblities. You could create a script that
> removes returns unless they are attached to tags for instance.
>
>
>
[Attachment #5 (text/html)]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you for the reply, Eric,<br>
<br>
I have been fiddling around, and have just discovered what the <join
lines> function does. :)<br>
<br>
Thank you very much anyway,<br>
Warmest Regards,<br>
malcolm<br>
<br>
<br>
<br>
<br>
Eric Laffoon wrote:
<blockquote cite="mid:200807220903.18031.eric@kdewebdev.org" type="cite">
<pre wrap="">On Tuesday 22 July 2008 5:33:08 am malcolm wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello, All,
I'm wondering if it's possible to bind a series of key-strokes to a
hot-key. For example, i have some very large documents to re-format, and
the lines are very short, so to lengthen them i find it necessary to press
<end> <space> <del>, but it's easy to mis-stroke and run words together or
introduce unwanted double-spaces.
Can anyone tell me if it is possible to do this, and maybe - if it is -
to give me some guidance?
Thank you.
Warmest Regards,
malcolm
</pre>
</blockquote>
<pre wrap=""><!---->
Please see the docs regarding Actions. They enable you to create scripts and
bind a key. Now if you stop thinking in terms of keystrokes and think in
terms of what you want to do you could...
- use sed to replace \n with a space in a selected block (in fact you could
even do this with the find and replace using regexp)
- use DCOP to move the cursor
This is really just some of the possiblities. You could create a script that
removes returns unless they are attached to tags for instance.
</pre>
</blockquote>
<br>
</body>
</html>
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic