Hide Forgot
The same issue is present in the latest RHEL7 vim: vim-enhanced-7.4.027-2.el7.x86_64 +++ This bug was initially created as a clone of Bug #840824 +++ Description of problem: When the python code provided below is scrolled up so that the line 7 disappears, the rest of the code is colored as a string. Version-Release number of selected component (if applicable): vim-enhanced-7.2.411-1.8.el6.x86_64 Steps to Reproduce: 1. vim bug.py 2. 7<ctrl-e> 3. <ctrl-l> Python code: $ cat bug.py class Class(object) def __init__(value): """ Heading Accepts the following formats (case does not matter): one two three """ # Some short comment for i range(100): print i
Editing code is sometimes very hard when affected by this bug as the coloring is basically inversed and the language keywords are appearing as a string. Karsten, do you think this could be fixed in the near future?
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux.
Created attachment 1146011 [details] Whole bug.py
Created attachment 1146012 [details] bug.py after 7 <ctrl-e> <ctrl-l>
Cannot reproduce on a freshly installed RHEL-7.2 with vim-enhanced-7.4.160-1.el7.x86_64 vim-minimal-7.4.160-1.el7.x86_64 vim-common-7.4.160-1.el7.x86_64 See attachements, they look ok to me.