facebook

Dark background issue with 4.0 M3 on Linux

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #235055 Reply

    csaw
    Member

    Well done for getting the JSP EL syntax color highlighting working, but before you break out the diet Coke or Latte (or whatever affluent programmers drink 😉 ) there is a small color issue with the apostrophe ‘ on a JSP when it surrounds an EL statement – it turns black. e.g.

    <input name='<c:out value="${status.expression}"/>'  ...other parameters, etc...

    As I run with a dark background, the apostrophes vanish. I wouldn’t have noticed this if I had’t run the cleanup routine. It stuck apostrophes in and made my code look weird (and it’s weird enough already). They’re the correct color everywhere else, even on the same line but just not surrounding an EL statement. I couldn’t find a color options that affected this action though but as there are so many now, I may have missed it…

    I’m running 4.0 M3 on Linux and everything else is wonderful…

    regards

    #235071 Reply

    Riyad Kalla
    Member

    Reading the JSP spec w.r.t. to quoting, they always suggest to start with double quotes on the outside and use single quotes internally… did you have that and the formatter changed it around?

    #235073 Reply

    csaw
    Member

    I didn’t use single quotes at all as the inner double quotes are inside the jsp tag. The code is/has been working great and I’m sure it would work with single quotes as well although I agree with you/JSP spec. it looks unusual with single’s then inner doubles – it’s just the color issue that’s strange.

    #235088 Reply

    Scott Anderson
    Participant

    How does the color look if you change an example to this:

    
    <input name="<c:out value='${status.expression}'/>"
    
    #235094 Reply

    csaw
    Member

    The single quotes go black and as soon as the current row highlight moves off the row they vanish into the black like small thin ninja 🙂

    #235097 Reply

    Scott Anderson
    Participant

    Can I talk you into a nice soothing pale green background? 😉

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Dark background issue with 4.0 M3 on Linux

You must be logged in to post in the forum log in