How can gedit detect languages, even though they are not installed?
Here's an example where Gedit detects Java.
But when I try to run Java from terminal, it says that java is not installed.
Similarly, it can detect ada even though it is not installed on my system.
And the same is the case for other languages...
If a language is not installed, how can gedit display formatting according to the syntax of the language?
If I select Objective-C instead of Ada, it does not display formatting.
However, if I replace code of Ada with Objective-C it displays proper formatting
Even though these languages are not installed by default, how can gedit differentiate between them?
This article says that PHP, Ruby and Python come pre-installed with Ubuntu. However, my system can also run C and C++. Why is that, and how does it relate to Gedit's syntax highlighting?