Skip to content
Prev 1176 / 3656 Next

gedit with .r and .R

I am very surprised by gedit's bad properties:
the following journal led to gedit syntax highlighting *R, *r, and *sh files:
--------------
1104  gedit  cartetempe1.r
 1105  gedit cartetempe1.R
 1106  ls *sh
 1107  gedit   truc.sh
 1108  gedit cartetempe1.R
 1109  history 
 1110  history > histoire
--------------
In line 1104 (resp.1105), I had to associate *.r (resp *.R) with its syntax highlightener:
Affichage -> Mode de coloration->Scripts-> R
then at line 1108 the syntax was automagically colored (with R syntax) and , trust me, *r are recognised, too.
Line 1107 was used to verify there was no terrible mess with bash scripts.... Bash scripts remained highlighted with *bash* syntax...
The same phenomenon occured with c files, which kept their syntax coloring...
 
gedit (2.16.0) could edit plain files without trying to syntax highlight!!!
Though gedit is not my favorite editor (vim and emacs are less ressource/RAM greedy) I was curious to test it,too...


--- En date de?: Mer 19.5.10, Paul Johnson <pauljohn32 at gmail.com> a ?crit?: