Dnia piątek, 4 sierpnia 2006 22:39, François Pinard napisał: > [Mikolaj Machowski] > > >[Mohsin]: > >>Vim only has syntax coloring with regexps. Emacs has functions to > >>apply properties to text blocks, and I was hoping vim has something > >>comparable. > > > >Of course it is possible: > >:help /\%l > >:help /\%c > > Humph, not really!
OP asked for highlighting. > > Text properties in Emacs span text regions, which move, expand or shrink > while text is being edited outside or within them. Besides > highlighting, text properties may also be used for making regions > invisible (fully collapsed, not using any estate on the display), > intangible (the cursor skips over them as if they were a single > character), and many other things as well. Full collapsing was discussed some time ago and dismissed because there is no good way to show theirs existence when collapsed. m.