Add filetype extraction by regex
commitcdb748c2c48f4e845e8354a58d75db5ec6e73487
authorLex Trotman <elextr@gmail.com>
Sat, 22 Oct 2011 11:55:57 +0000 (22 22:55 +1100)
committerLex Trotman <elextr@gmail.com>
Sat, 22 Oct 2011 11:55:57 +0000 (22 22:55 +1100)
treef3faab88560a9cdb004b7323080b41e601e1162b
parentb1b88286cf2c71a1be8e0bccc207063e93755bbd
Add filetype extraction by regex

Adds the ability to set filetype on open by extracting it from the
file using a regex on the first few lines (default 2).
doc/geany.html
doc/geany.txt
src/document.h
src/filetypes.c
src/keyfile.c