Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-21 Thread Martin Friebe

[cross-posted to lazarus list = please join there to continue the topic]

I am trying to figure out how they work

- Block is kept, if cursor moves away. (obvious)
- Shift Cursur keys:
 - Block is extended if cursor was next to block
 - New block is started , if cursor was away from block.
(could also be used to extend the block, like shift-left-mouse)
- Block is kept, position/size adjusted if text is typed before, or into 
the block  (exception, column mode block is not adapted)

- ctrl-c copies the block, at any time

annoyances I found in turbo explorer (the free delphi), not sure if they 
are supposed to be.

- Move the caret via mouse (left click) = block is undone
- paste/ctrl-v : the newly inserted text is selected as new block?
  (this means the current block is lost)

That's all the knowledge I have about them sofar.

Anyone wants to update me?

Martin

Andreas Berger wrote:



On Thu, Jul 16, 2009 at 01:36:15PM +0200, Andreas Berger wrote:
 
Out of curiosity (because I never used this feature in any editor), 
what would you use it for?
  
Persistent blocks and the full Wordstar keyboard shortcuts is why I 
use the Delphi IDE until today.



If you miss wordstar stuff, please list it.


Well, maybe I should use the Lazarus IDE again for a bit a jot down 
what I would like. I may even soon have time to help add some options.


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-17 Thread Marco van de Voort
On Thu, Jul 16, 2009 at 01:36:15PM +0200, Andreas Berger wrote:
 
  Out of curiosity (because I never used this feature in any editor), 
  what would you use it for?
 Persistent blocks and the full Wordstar keyboard shortcuts is why I use 
 the Delphi IDE until today.

If you miss wordstar stuff, please list it.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-17 Thread Andreas Berger



On Thu, Jul 16, 2009 at 01:36:15PM +0200, Andreas Berger wrote:
  
Out of curiosity (because I never used this feature in any editor), 
what would you use it for?
  
Persistent blocks and the full Wordstar keyboard shortcuts is why I use 
the Delphi IDE until today.



If you miss wordstar stuff, please list it.


Well, maybe I should use the Lazarus IDE again for a bit a jot down what 
I would like. I may even soon have time to help add some options.


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-17 Thread Martin Friebe
We are still on the wrong mailing list. Should be 
laza...@lists.lazarus.freepascal.org


Anyway, if it's about SynEdit, feel free to ask where to start looking, 
I am glad to give some pointers. (But please make sure you are on SVN 
0.9.27, since it is completely different)


From What I understand, there are 2 issues:
- the missing persistent block
I don't even know how many persistent-block related commands there are. 
IIRC from never mind hom many years ago, you have to Key-Shortcuts, to 
set it's end and begin? (Instead of using shift-cursor?)

What other commands are there?
It may be possible to break it down into the most needed (set-begin, 
set-end, copy, move) commands, and otheres that can be added over time?


- The Keyboard layout/scheme for wordstar ?
How different is that from current default, or classic-scheme default?

Martin


Andreas Berger wrote:



On Thu, Jul 16, 2009 at 01:36:15PM +0200, Andreas Berger wrote:
 
Out of curiosity (because I never used this feature in any editor), 
what would you use it for?
  
Persistent blocks and the full Wordstar keyboard shortcuts is why I 
use the Delphi IDE until today.



If you miss wordstar stuff, please list it.


Well, maybe I should use the Lazarus IDE again for a bit a jot down 
what I would like. I may even soon have time to help add some options.


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-17 Thread Andreas Berger



- The Keyboard layout/scheme for wordstar ?
How different is that from current default, or classic-scheme default?
I modified the classic-schema a few years ago to be mostly wordstar 
correct. What I didn't do at the time was add persistent blocks.


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-16 Thread Andreas Berger


Out of curiosity (because I never used this feature in any editor), 
what would you use it for?
Persistent blocks and the full Wordstar keyboard shortcuts is why I use 
the Delphi IDE until today.


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-16 Thread Michael Van Canneyt



On Thu, 16 Jul 2009, Andreas Berger wrote:



Out of curiosity (because I never used this feature in any editor), what 
would you use it for?
Persistent blocks and the full Wordstar keyboard shortcuts is why I use the 
Delphi IDE until today.


Me too. I never got used to the windows way...

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Persistent blocks in Lazarus

2009-07-15 Thread Jürgen Hestermann

A question:

Do persistent blocks exist the Lazarus editor?
I didn't find any such option.
I am bit astonished about that because all Pascal forefathers like Turbo 
Pascal, Virtual Pascal and Delphi had it.


If it does not exist, is it planned to add?
I miss this mode very much. It allowed a way of working which cannot be 
achieved with the current temporary block mode.


Thanks in advance for answers.

Jürgen Hestermann.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-15 Thread Martin Friebe
First of all, Lazarus has it's own mailing list, where you will be more 
likely to receive answers...


Jürgen Hestermann wrote:

A question:

Do persistent blocks exist the Lazarus editor?

Not at current.


If it does not exist, is it planned to add?
Maybe some day. There is no concrete plan that I know of, so it isn't 
likely to be any time soon.

Patches are welcome.

I miss this mode very much. It allowed a way of working which cannot 
be achieved with the current temporary block mode.


Out of curiosity (because I never used this feature in any editor), what 
would you use it for?


Best Regards
Martin
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-15 Thread Jürgen Hestermann



 Martin Friebe schrieb:
Out of curiosity (because I never used this feature in any editor), what 
would you use it for?


I used it since Turbo Pascal 5 and found it in all other Pascal IDE's 
(even in the text mode IDE of Free Pascal!). And it seems others would 
like it too (see 
http://www.lazarus.freepascal.org/index.php?topic=4978.0;wap2).


With persistent blocks you can easily mark text for later use as a 
(second) kind of clipboard which is local to the file you are editing.


You can easily move to the beginning or end (in most implementations 
even if the block is hidden/not visible). That works as a kind of go 
to last working area.


You can also set visually marks with it (because it's highlighted) so 
that when you are srolling up or down you see immediately that you 
crossed that part of text.


Jürgen.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal