BlockEditor.SelectionStart ( Navigator.NextLine (BlockEditor.SelectionStart()) ); BlockEditor.SelectionEnd ( Navigator.LineEnd (BlockEditor.SelectionStart()) ); BlockEditor.Read ( LineBuff, LINEBUFF_SIZE ); PropFilter.Colourize ( LineBuff, PropBuff, LINEBUFF_SIZE, BlockEditor.SelectionStart() ); Translator.Translate ( LineBuff, LINEBUFF_SIZE, PropBuff ); Trim ( LineBuff, LINEBUFF_SIZE, ScrollLoc.X, (Display->Width - 1), PropBuff ); Display->BufferPos ( 0, LineCounter + 1 ); Display->BufferText ( LineBuff, PropBuff );