Re: Unbreakable space in text editor



2007/8/18, Frederic Peters <fpeters 0d be>:
>
> You could try this:
>
>   syntax match Nbsp ' '
>   highlight Nbsp term=reverse ctermfg=DarkRed guifg=Red
>
> (replace real space by non-breakspace in first line)


And for Emacs :)

(make-face 'nbsp-face)
(require 'disp-table)
(aset standard-display-table
      (make-char 'latin-iso8859-1 (- ?\240 128))
      (vector (+ ?\267 (* 524288 (face-id 'nbsp-face)))))

Ciao,
Stéphane


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]