TeplFileLoader: feature parity with GtkSourceFileLoader
@swilmet
Submitted by Sébastien Wilmet Link to original bug (#793758)
Description
TeplFileLoader: feature parity with GtkSourceFileLoader.
TeplFileLoader is a new implementation based on uchardet to have a better character encoding auto-detection. But some features are missing compared to GtkSourceFileLoader.
The goal is to be able to replace GtkSourceFileLoader by TeplFileLoader, there should be no regression in functionality. This will permit to either:
- Deprecate (and then remove in the next major version) the GtkSourceView file loading and saving API, saying that applications need to use Tepl.
- Or fold back new Tepl implementation into GtkSourceView.
Solution 2 is maybe a risk because file loading and saving in Tepl is not finished (even when this bug will be done), for example for metadata handling. So the solution 1 is probably better, to be able to change the API later.