Fossil SCM

SHJS Syntax Highlighter JavaScript breaks with line number toggle

Open

8a2523b559d0179… · opened 11 years, 2 months ago

Type
Feature_Request
Priority
Severity
Cosmetic
Resolution
Subsystem
Created
Jan. 31, 2015 7:04 p.m.

I have set up syntax highlighting for the /artifact pages as described in the fossil wiki 0].

The new line number toggle option 1] does not work seamlessly with syntax highlighting, as the new option causes URLs to change from /artifact to /info pages. Of course one might argue that the visible line numbers will mess up syntax highlighting anyway, but nonetheless I'd like to make a request to change the line number toggle option not to switch between /artifact and /info pages.

[0] [http://www.hwaci.com/cgi-bin/fossil/wiki?name=shjs]
[1] [http://www.fossil-scm.org/index.html/info/a5b1bef9cfd605df57788c5459252fa02f4dc18b]

Comments (1)

nobody 11 years, 2 months ago

I have set up syntax highlighting for the /artifact pages as described in the fossil wiki 0].

The new line number toggle option 1] does not work seamlessly with syntax highlighting, as the new option causes URLs to change from /artifact to /info pages. Of course one might argue that the visible line numbers will mess up syntax highlighting anyway, but nonetheless I'd like to make a request to change the line number toggle option not to switch between /artifact and /info pages.

[0] [http://www.hwaci.com/cgi-bin/fossil/wiki?name=shjs]
[1] [http://www.fossil-scm.org/index.html/info/a5b1bef9cfd605df57788c5459252fa02f4dc18b]

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button