#2970 PHP Identation problems

closed-fixed
None
5
2012-04-10
2007-10-15
Khaoz
No

I posted this bug:

http://sourceforge.net/tracker/index.php?func=detail&aid=1775936&group_id=588&atid=100588

And want to say: Sry for the crap information.

The problem persist with some php files (an example using mapper.php from Route in horde.pear.org is attached).

When you press ctrl + a and ctrl + i, identation follow some keywords inside comments. It's a bit strange.

Discussion

  • Khaoz

    Khaoz - 2007-10-15
     
  • Khaoz

    Khaoz - 2007-11-05

    Logged In: YES
    user_id=1016955
    Originator: YES

    Syntax highlight has some problems with comments too.
    Example: From line 395 to 757 of Table.php (it's a file from DB_Table pear package).
    File Added: Table.php

     
  • Khaoz

    Khaoz - 2007-11-05
     
  • Khaoz

    Khaoz - 2007-11-07

    Logged In: YES
    user_id=1016955
    Originator: YES

    Suggestion: Leave comments as comments. Do not try to apply syntax highliht inside comments (maybe apply some color in Label keyword - thos @ things :D ).

     
  • Khaoz

    Khaoz - 2007-11-16

    Logged In: YES
    user_id=1016955
    Originator: YES

    Lastest news :D :

    - The identation problem only occur if you check "Deep indent" option;
    - The highlight issues is related with <code> </code> inside phpdoc comments.

     
  • Matthieu Casanova

    Logged In: YES
    user_id=285591
    Originator: NO

    Hi, in fact your comment misses a ', that's why you have a syntax highlight problem.
    For the indent, you're right the problem comes from the fact the code tag in the comment delegates to another mode, maybe it is a mistake.
    What do you think of that Daniel ?

     
  • Alan Ezust

    Alan Ezust - 2011-12-04
    • assigned_to: nobody --> kpouer
     
  • Matthieu Casanova

    The files are not available anymore, I don't have enough information to fix that

     
  • Matthieu Casanova

    • status: open --> pending-out-of-date
     
  • Jarek Czekalski

    Jarek Czekalski - 2012-03-29
    • status: pending-out-of-date --> open
     
  • Jarek Czekalski

    Jarek Czekalski - 2012-03-29

    Matthieu, sf had problems with attachements some time ago. Today they are available, so you could give it a try.

     
  • Matthieu Casanova

    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks