Re: Deleting a line
Petr Baudis <[email protected]>
| Newsgroups | gmane.comp.web.links.list |
|---|---|
| Message-ID | <[email protected]> |
Dear diary, on Thu, Nov 27, 2003 at 10:51:19AM CET, I got a letter, where Karel Kulhavý <[email protected]> told me, that... > Sometimes on a web page there is a rectangle where one can edit text. The rectangle > has some amount of columns and rows. I don't know how this object is called. It's textarea. > But I am unable to delete a line in this object. How do I delete a line > in this object? AFAIK, Links doesn't support that. ELinks supports ^K killing to the end of line (I couldn't find that in Links so I guess we introduced that after Links-0.96) and ^U killing to the end of line (it kills to the end of textarea in Links, which we believed was a bug). (So you could press ^K^U or vice versa and it would erase the line. Introducing another shortcut doing that is then trivial.) It shouldn't be hard to port this from ELinks to Links, see src/viewer/text/form.c:field_op(), which maps to view.c:field_op() in Links. ACT_KILL_TO_* cases are interesting for you. -- Petr "Pasky" Baudis . To get something done, a committee should consist of no more than three persons, two of them absent. . Stuff: http://pasky.ji.cz/ _______________________________________________ Links-list mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/links-list