Re: [fossil-users] Patch: Syntax Highlighting Integration (line numbers working) (fixed)

2018-07-01 Thread Lester L. Martin II
On 2018-07-01 20:03, Lester L. Martin II wrote: On 2018-07-01 19:52, Lester L. Martin II wrote: Note: Have noticed that the functions, utilized without highlighting, actually generate 2 new lines, one at the beginning, and one at the end. This breaks line numbering (file grew longer in lines

Re: [fossil-users] Patch: Syntax Highlighting Integration (line numbers working) (fixed)

2018-07-01 Thread Lester L. Martin II
Format flowed was breaking the patch, it's now attached, sorry for the trouble. -- Lester L. Martin II Index: src/db.c == --- src/db.c +++ src/db.c @@ -3259,10 +3259,15 @@ ** A shell command used to launch your preferred ** web

Re: [fossil-users] Patch: Syntax Highlighting Integration (line numbers working)

2018-07-01 Thread Lester L. Martin II
. If anyone can confirm this is the case in Fossil 2.6 (have to inspect the html markup), please let me know. This behaviour isn't exhibited in the default builtin line numbering code, just the non-line-numbering code. Will follow up with a patch to fix that as well likely. -- Lester L. Martin II

Re: [fossil-users] Patch: Syntax Highlighting Integration (line numbers working) (fixed)

2018-07-01 Thread Lester L. Martin II
On 2018-07-01 19:52, Lester L. Martin II wrote: Note: Have noticed that the functions, utilized without highlighting, actually generate 2 new lines, one at the beginning, and one at the end. This breaks line numbering (file grew longer in lines). Believe this has existed *before* I worked on my

[fossil-users] Patch: Syntax Highlighting Integration (line numbers working)

2018-07-01 Thread Lester L. Martin II
This patch changes the way `void artifact_page(void)` renders a files content. It also adds a new setting in "src/db.c" relating to syntax highlighting. As with the previous patch, it changes content rendering to use ``. In addition, on the paths that need `` it removes the `` from the section.

[fossil-users] Syntax Highlighting

2018-06-26 Thread Lester L. Martin II
I could manage to appropriately submit such an agreement. Even so, I'd like to get a contributors agreement on file so if anyone can help with that. -- Lester L. Martin II ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-30 Thread Lester L. Martin II
ing patch, getting syntax highlighting and line numbering working, the next thing will be to get diffs working, if this doesn't already fix it for them too. -- Lester L. Martin II ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Syntax Highlighting

2018-07-04 Thread Lester L. Martin II
free to help me improve the documentation as to doing this. -- Lester L. Martin II ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Lester L. Martin II
On 2018-06-28 11:07, Chad Perrin wrote: On Thu, Jun 28, 2018 at 10:40:19AM -0500, Lester L. Martin II wrote: I've developed a way to do highlighting with line numbering... The issues are as follows however: 1. The JS code responsible for the highlighting is external to Fossil itself. 2. The JS

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Lester L. Martin II
op talking about syntax highlighting because at that point it's done and not only done, but well done and superior in context of capability and ability within reference to the scope of the Fossil project. Finally, if JS is going to be responsible for line numbering anyway, perhaps line numberin

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Lester L. Martin II
it would be best to figure out what trade offs should be made to be able to highlight whilst displaying numbers or if the trade off is to not be highlight capable when numbers are displayed. -- Lester L. Martin II ___ fossil-users mailing list fossil-u

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Lester L. Martin II
On 2018-06-28 00:36, Chad Perrin wrote: On Wed, Jun 27, 2018 at 11:31:57PM -0500, Lester L. Martin II wrote: This patch changes the way `void artifact_page(void)` renders a files content. Formerly a `` was issued for content, whereas now a `` is issued where $ext is the file's extension