Hello lyx users and developers: In lyx the total preamble is different from the preamble which can be edited in Document>Settings>LaTeX preamble as lyx adds its own code to the preamble.
Occasionally it is good to have a look at the full preamble including lyx inserted code. Currently the full preamble can be only seen when the View>View source option is turned on. This is however not a perfect solution since in case of a long document 1/ the tex source window always switches to the current paragraph where the cursor is located, that is it is necessary to scroll up to the top frequently, and 2/keeping the tex code window open sometimes slows down lyx. For the abovementioned reasons I would like to suggest implementing/ask for a "view preamble only" option which would show only the preamble including both user and lyx inserted code. Thanks, bcsikos