Ticket #2346 (accepted enhancement)

Opened 14 years ago

Last modified 12 years ago

Sync PHP syntax highlighting with up do date language keywords

Reported by: ianzag Owned by: zaytsev
Priority: minor Milestone: Future Releases
Component: mcedit Version: master
Keywords: PHP syntax highlight Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

  • Add OOP keywords (interface, implements, try/catch etc)
  • Add predefined exceptions (Exception etc)
  • Add predefined interfaces (Iterator etc)
  • Add std JSON functions (json_encode etc)
  • Add minor std keywords missing in highlight file

Attached diff was made over official v4.7.4 release

Attachments

php.syntax.diff (3.2 KB) - added by ianzag 14 years ago.
Add new PHP keywords

Change History

Changed 14 years ago by ianzag

Add new PHP keywords

comment:1 Changed 14 years ago by zaytsev

  • Priority changed from major to minor
  • Status changed from new to accepted
  • Version set to master
  • Owner set to zaytsev

Can be included via the syntax consolidation branch.

comment:2 Changed 13 years ago by belliash

private, protected & public should be colored as white, as var does.
either const should.

Other way it makes no sense, some of them are white while others magenta

comment:3 Changed 12 years ago by andrew_b

  • Branch state set to no branch
  • Milestone changed from 4.7.5 to Future Releases
Note: See TracTickets for help on using tickets.