Vi.iv, a bi-directional version of the vi full-screen editor

Uri Habusha, Daniel M. Berry · 1990

): -|.su zwvix If the space between the `u' and the `z' is in LR, then the screen appearance of the line is: | xivwz.su | If, however, the space is in RL, then the screen appearance is: | xivwz .su| As another example, again in an R-L view, the time-ordered file contents (the company Jones & Sons) -|dgaxd Jones & Sons appears as | Jones & Sons dxagd| if the `&' and the spaces surrounding it are in LR, but appears as | Sons & Jones dxagd| if the `&' and the spaces are in RL. In order to help the user to avoid getting lost in these circumstances, we decided to have an option under which vi.iv would highlight the characters of the language whose 82 U. HABUSHA AND D.M. BERRY direction opposes that of the current view. This highlighting can be requested either from the invoking command line by adding the -MS option or from within vi.iv by uttering one of: :set marksecondlang :set marksl This highlighting is done by what ever method of highlighting is offered by the current ter...

Read the paper · More papers on PaperTik