POV-Ray : Newsgroups : povray.off-topic : Emacs : Re: Emacs Server Time
29 Sep 2024 00:19:54 EDT (-0400)
  Re: Emacs  
From: scott
Date: 15 Apr 2009 08:39:06
Message: <49e5d56a$1@news.povray.org>
> I was thinking more like you have some text such as
>
>   case x of
>     5 -> return [(1, 4), (2, 3)]
>     6 -> return [(1, 5), (2, 4), (3, 3)]
>     7 -> return [(1, 6), (2, 5), (3, 4)]
>
> and you suddenly decide you need to change that to
>
>   case x of
>     5 -> return $ Just [(1, 4), (2, 3)]
>     6 -> return $ Just [(1, 5), (2, 4), (3, 3)]
>     7 -> return $ Just [(1, 6), (2, 5), (3, 4)]
>
> It's kinda tedious to do this by hand. (Depending on just how many times 
> you need to do it, obviously...)

In all editors I've used (including POV - try it!), you would hold down the 
Alt key, then click and drag from the top [ to the bottom [ to mark the 
region you want to type into.  Then when you type it gets inserted on every 
line in that region.


Post a reply to this message

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