Code Monkey home page Code Monkey logo

Comments (9)

ejmr avatar ejmr commented on August 16, 2024

I see what you mean. Calling a method does not use the same 'face' (in Emacs terms) as defining one. I would be in favor of changing php-mode to make this consistent. However, if any programmers who follow the development of php-mode have a different opinion I would greatly appreciate hearing it.

from php-mode.

ryuslash avatar ryuslash commented on August 16, 2024

Looking at the code in php-mode.el, doesn't php-function-call-face already make this possible? variables should also be highlighted it looks like.

from php-mode.

ejmr avatar ejmr commented on August 16, 2024

You're right, we php-function-call-face three times in php-font-lock-kewords-3, so it is probably worth double-checking those regular expressions. I agree too regarding variables.

from php-mode.

guweigang avatar guweigang commented on August 16, 2024

hey @ejmr , you fixed it?

from php-mode.

ejmr avatar ejmr commented on August 16, 2024

@cnwggu

Sorry for the late reply, but not yet. So far this year things "in real life" have kept me away from spending time on php-mode.

from php-mode.

guweigang avatar guweigang commented on August 16, 2024

@ejmr

It's OK, i have planed to learn elisp, wish that i can do some commits in the year 2013.

few days ago, i hacked header2.el, make it to update SVN Revision when saving file

from php-mode.

ejmr avatar ejmr commented on August 16, 2024

Hope you enjoy learning Elisp @cnwggu :)

Here is a useful introductory tutorial: http://ergoemacs.org/emacs/elisp.html

And of course using C-h i in Emacs itself will let you read the built-in Emacs Lisp tutorial and the comprehensive reference for whenever you need to look-up exactly how something works.

from php-mode.

guweigang avatar guweigang commented on August 16, 2024

@ejmr thank u very much.

from php-mode.

ejmr avatar ejmr commented on August 16, 2024

Commit 0807f4e now makes php-mode highlight method calls using php-function-call-face.

from php-mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.