]> git.lyx.org Git - features.git/commit
Properly communicate forced encodings
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 26 Jan 2018 07:38:52 +0000 (08:38 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 27 Jan 2018 17:35:16 +0000 (18:35 +0100)
commitcf6ff2cac79d09adafa63e3a1ec02dfb09f707b9
tree4dbc559e59d306ff2be4d434da2f731d72fa613d
parent463c994de24972d0de38712014ea837783f548a0
Properly communicate forced encodings

This is currently only relevant fo InsetListings, which falls back to
a fixed-width encoding under specific conditions. It is now possible
to query the inset about that and report the correct encoding in
DocIterator::getEncoding.

Addresses the second part of #10995

(cherry picked from commit f924ef29660af5afd22b96744a3e0bb128e1a58d)
src/DocIterator.cpp
src/insets/Inset.h
src/insets/InsetListings.cpp
src/insets/InsetListings.h