Q: I am seeking a proposed modification of simple.el
at lines 5251 to 5308 of the master branch relating to highlighting a selected region to achieve a better visual representation when the same buffer is displayed in more than one window (same frame or a different frame) -- with different window-start
/window-end
positions.
The first couple of screen-shots are with the default highlight-nonselected-windows
set to nil
. The last screen-shot is with highlight-nonselected-windows
set to t
. The test file for this example is the library simple.el
.
I have only selected the four (4) lines of code in the second window in the first screen-shot, yet (12) lines of code are highlighted in the first window in the second-screen-shot. The third screen-shot displays both.
GOAL: The same four (4) lines of code should be highlighted in all three screen-shots.