RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 840824 - Syntax coloring problem in Python code
Summary: Syntax coloring problem in Python code
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vim
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Karsten Hopp
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks: 947784 1159824
TreeView+ depends on / blocked
 
Reported: 2012-07-17 10:07 UTC by Petr Šplíchal
Modified: 2016-06-01 01:47 UTC (History)
1 user (show)

Fixed In Version: vim-7.4.629-5.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1016177 (view as bug list)
Environment:
Last Closed: 2016-04-28 14:09:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Šplíchal 2012-07-17 10:07:15 UTC
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

Comment 1 RHEL Program Management 2012-09-07 05:19:32 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 2 Karsten Hopp 2016-04-28 14:09:15 UTC
I've tested this with vim-7.4.629-5.el6 and this is fixed


Note You need to log in before you can comment on or make changes to this bug.