Highlight Matching List Items

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
vickiwatson
Posts: 8
Joined: Wed Feb 08, 2012 5:28 am

Highlight Matching List Items

Post by vickiwatson »

Just wondering why start and end li tags don't highlight? The ul tags do. Would be nice if the items did also.

I just upgraded and hoped to see them highlighting, but they don't in the new version either.

Rapid PHP 2022, version 17.1.0.241
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Highlight Matching List Items

Post by Aivars »

The reason for it is that UL tags are allowed to be unclosed by HTML5 specification and in actual real-life HTML this feature is used often enough.

Here is how you can change it for your installation:

* Close Rapid PHP
* Open as administrator file "C:\Program Files (x86)\Rapid PHP 2022\data\mldefs\HTML 5.ini"
* Change

Code: Select all

[li]
#core
#events
%endtag=3
to

Code: Select all

[li]
#core
#events
%endtag=1
Blumentals Software Programmer
vickiwatson
Posts: 8
Joined: Wed Feb 08, 2012 5:28 am

Re: Highlight Matching List Items

Post by vickiwatson »

Thanks. Worked perfectly. :)
vickiwatson
Posts: 8
Joined: Wed Feb 08, 2012 5:28 am

Re: Highlight Matching List Items

Post by vickiwatson »

Any way to keep this from reverting when Rapid PHP updates?
Post Reply