Opened 14 years ago
Closed 14 years ago
#134 closed defect (fixed)
perl extensions can confuse the editwin
Reported by: | spang@mit.edu | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | internals | Keywords: | |
Cc: |
Description
The attached code will, after being run, no longer allow editing text in the editwin. You can still C-c abort or C-d send.
Change History (3)
comment:1 in reply to: ↑ description Changed 14 years ago by spang@mit.edu
comment:2 Changed 14 years ago by nelhage@mit.edu
package TestCase; use BarnOwl::Editwin qw(:all); sub confuse_editwin { move_to_buffer_start(); replace_region("I'm trying to confuse the editwin"); move_to_buffer_end(); } BarnOwl::new_command('confuse-editwin' => \&confuse_editwin); BarnOwl::bindkey(edit => 'C-u' => command => 'confuse-editwin');
comment:3 Changed 14 years ago by nelhage@mit.edu
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Replying to spang@…:
Adding attachments doesn't seem to work. Inlining:
package TestCase; use BarnOwl::Editwin qw(:all);
sub confuse_editwin {
}
BarnOwl::new_command('confuse-editwin' => \&confuse_editwin); BarnOwl::bindkey(edit => 'C-u' => command => 'confuse-editwin');
1;