|
|
> 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
|
|