]> 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>
Fri, 26 Jan 2018 07:38:52 +0000 (08:38 +0100)
commitf924ef29660af5afd22b96744a3e0bb128e1a58d
tree68fa6d3d37e2c370057be436d74f7253cd441547
parent7b169de401529c5801c4326e1712fcca59125f50
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
src/DocIterator.cpp
src/insets/Inset.h
src/insets/InsetListings.cpp
src/insets/InsetListings.h