There are so-called strict formats, like pdb - where the meaning of the symbol is defined by the colomn number of the symbol. For example here is a specification of the above mentioned pdb format.
Is there a way I can apply face colour basing on the column range?
One can normally add a regexp to be highlighted, for example for the current session in the following way:
(font-lock-add-keywords nil '(("\\[\\(.+?\\)\\]" . font-lock-keyword-face)))
So is there a way to specify that face at columns, say 7-11 - should be, say - red?
Edit:
So the answer is:
(font-lock-add-keywords nil '(("^.\\{2\\}\\(.\\{2\\}\\)" 1 font-lock-warning-face)))