naokistark / hyperlight Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/hyperlight
Automatically exported from code.google.com/p/hyperlight
What steps will reproduce the problem?
1. create a CSS selector such as div#main_content or h2.sub_heading
What is the expected output? What do you see instead?
highlighting for class or id only matches up to the underscore, leaves the
underscore as plain text node, and matches the rest of the class or id as a
keyword
What version of the product are you using? On what operating system?
Using r52 straight from SVN, Windows 7, PHP 5.2.9
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 2 May 2012 at 1:00
There are very few keywords you can target for CSS, so I went ahead and
implemented finer control. Patch is attached. I haven't looked through any
other highlighters so if the keyword subgroups need renamed to match other
languages I won't be offended.
There are also some keywords added in PHP 5.4/5.5 that were missing; they are
also in the attached diff.
Original issue reported on code.google.com by [email protected]
on 16 Nov 2013 at 1:07
Attachments:
Folding is implemented in the function `hyperlight_calculate_fold_marks`
which is basically one big hack and only works and VB and C# `region` folds.
It's just a proof of concept at the moment. The code needs to be
refactored, cleaned up and proper handling for (several types of?)
language-independent folds needs to be added. Likewise, proper client-side
handling is needed (e.g. in the form of a `hyperlight_write_header` function).
Original issue reported on code.google.com by [email protected]
on 3 May 2009 at 3:15
I found a problem with the comment highlighting with VB.
If you have a single quote comment which has nothing after it the comment
carries onto the next line.
Example:
'
' Test this fails by including Imports System in the last comment
'
Imports System
'
' Test, this is fine
Imports System
I don't quite understand the original regex "/(?:'{1,2}[^']|rem\s).*/i" but I
managed to fix the problem for me by changing it to "/'{1,2}.*?\n/i".
Original issue reported on code.google.com by [email protected]
on 17 Aug 2011 at 9:40
Added some more keywords
Original issue reported on code.google.com by obermayrrichard
on 26 Oct 2013 at 10:53
Attachments:
I'd like to use this with an SVN viewer I wrote (which uses PHPTAL to generate
XHTML), but without the ability to return a highlighted buffer instead of
outputting it, I'd be resorting to some bad ob_* hacks that I would rather not
do.
Original issue reported on code.google.com by [email protected]
on 13 Dec 2010 at 8:45
The keywords get, set, partial and value are missing from the CSharp
highlighter.
Original issue reported on code.google.com by [email protected]
on 17 Aug 2011 at 8:51
This code needs to be shipped with plugins for software such as WordPress.
Since there's no configuration necessary this shouldn't be too hard.
Original issue reported on code.google.com by [email protected]
on 3 May 2009 at 3:18
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.