#516 new
ronin-98500 (at lighthouseapp)

C++ highlighting broken

Reported by ronin-98500 (at lighthouseapp) | May 4th, 2011 @ 09:21 PM

The C++ syntax highlighter is broken at various places, for some examples see the attached screenshot.
Furthermore Redcar doesn't want to indent correctly when typing class definitions; it's common practice to indent after the visibility keywords, but redcar always shifts completely to the left. Try typing an additional line after int blablub(); in the Bar class's definition.

I've also attached the code seen in the screenshot, use g++ abc.cpp -o abc to compile it. It doesn't do anything useful and will issue lots of warnings about unused parameters, but that's not the point here ;-).

Valete,
Marvin

Comments and changes to this ticket

  • ronin-98500 (at lighthouseapp)

    ronin-98500 (at lighthouseapp) May 4th, 2011 @ 09:24 PM

    Sorry, forgot important information (I'm using Arch Linux):

    √ quintus@hades => ~
    $ ruby -v
    ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
    √ quintus@hades => ~
    $ gem env
    RubyGems Environment:
      - RUBYGEMS VERSION: 1.7.2
      - RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [x86_64-linux]
      - INSTALLATION DIRECTORY: /opt/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1
      - RUBY EXECUTABLE: /opt/rubies/ruby-1.9.2-p180/bin/ruby
      - EXECUTABLE DIRECTORY: /opt/rubies/ruby-1.9.2-p180/bin
      - RUBYGEMS PLATFORMS:
        - ruby
        - x86_64-linux
      - GEM PATHS:
         - /opt/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1
         - /home/quintus/.gem/ruby/1.9.1
      - GEM CONFIGURATION:
         - :update_sources => true
         - :verbose => true
         - :benchmark => false
         - :backtrace => false
         - :bulk_threshold => 1000
         - "install" => "--format-executable"
         - "update" => "--format-executable"
         - "rdoc" => "--format=hanna"
      - REMOTE SOURCES:
         - http://rubygems.org/
    √ quintus@hades => ~
    $ gem list redcar
    
    *** LOCAL GEMS ***
    
    redcar (0.11, 0.10)
    √ quintus@hades => ~
    $ uname -a
    Linux hades 2.6.38-ARCH #1 SMP PREEMPT Fri Apr 22 20:29:33 CEST 2011 x86_64 AMD Athlon(tm) II X4 640 Processor AuthenticAMD GNU/Linux
    √ quintus@hades => ~
    $ java -version
    java version "1.6.0_25"
    Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
    √ quintus@hades => ~
    $
    

    Valete,
    Marvin

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Attachments

Pages