POV-Ray : Newsgroups : povray.windows : CTRL+Y : Re: CTRL+Y Server Time
28 Jul 2024 06:10:28 EDT (-0400)
  Re: CTRL+Y  
From: gimi
Date: 1 Dec 1999 15:32:58
Message: <384585DF.2EAE8FCA@psico.ch>
hi all,

Remco de Korte wrote:
> I'm used to using CTRL+Y to delete a line in the editor. [...]
> In the
> POV-editor however it also wipes the buffer which isn't what I would
> expect. Am I mistaken?

ok, my 2c:

ctrl-y _should_ spell 'yank' (hmm,
in emacs, it does..) and not 'linecut'
as in povray/codemax, so remco is
right about this.

all the followups to his post were
misleaded to think that he *wanted*
to cut/copy something with c-y, which
he didnt (right?), but codemax _does_.

well, what remco (and myself) would
like to see is a c-y _without_ storing
the line to the buffer (where people
like us tend to store precious things,
right remco? :))

of course i wouldnt write this if i
didnt know the solution (he he).

 - and im not tellin you.. :P



okok, yes of course, here we go:

while the povray window is active,
press alt-enter to go to the codemax
props (menu editor/codemax properties),
choose the keyboard tab and look for
the &command LineCut (its the first
starting with an 'l', so alt-c followed
by the 'l' key will also bring you there).
select the &key assignment (ctrl-y) and
click the '&remove' button (er, youll find
the keyboard equiv yourself by now.. :)
next, you a&ssign the same shortcut to
the following command, which is named
'LineDelete' and does what it says, which
is what you and i want. :D


> I guess this is something in the Codemax editor and won't be changed in
> any new versions of POV-Ray.

now its up to you, pal.

> I just had to write this because once again I lost a large portion of
> code I cut from a scene when I deleted aline before pasting it.

aaarrgh d*rn again!

> Cheers!

hope this cheers _you_ up a bit..


gimi

master of _good_ yanking :)
-- 
home:  http://www.psico.ch/
mail:  mailto:*@psico.ch      mailnot:gimi@:).ch


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.