Hi,

Looking at the documentation for NetBeans, I thought that GUARDED would
be what I wanted.

However, looking at the source (src/netbeans.c), I don't understand how
it is supposed to work.

1. If you don't have FEAT_SIGNS enabled, nothing is actually done in the
'guarded' command.
2. Nothing except the undo command cares about GUARDED, and moreover, it
 works on whole lines.

Guarded, from the documentation, works on positions and offset, i.e.
sub-lines.

Ultimately, I want to have parts of a buffer read-only (for interactive
use), but this suggests that not only can't I do partial line locking,
nor does it actually do anything useful.

What is the actual behaviour here?

Thanks in advance,
Mikael

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui