[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: Review Request 115544: improve highlighting of reStructuredText
From: "Matthew Woehlke" <mw_triad () users ! sourceforge ! net>
Date: 2014-03-03 21:46:38
Message-ID: 20140303214638.26655.48388 () probe ! kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115544/
-----------------------------------------------------------
(Updated March 3, 2014, 9:46 p.m.)
Status
------
This change has been marked as submitted.
Review request for Kate and Stephen Kelly.
Repository: kate
Description
-------
There are quite some improvements; see the git log for details.
@skelly, I noticed you don't have a copyright/authorship line here... should you?
Diffs
-----
.gitlog PRE-CREATION
examples/syntax/highlight.rst PRE-CREATION
part/syntax/data/rest.xml 76c476a7a1f0b774ccabf0f48a518b413b9e63e4
Diff: https://git.reviewboard.kde.org/r/115544/diff/
Testing
-------
Test Content
------------
.. code-block:: c++
// This is C++ code
class Foo { int bar; };
.. code-block:: python
# This is Python code
class Foo(object):
def __init__(self):
pass
:This: ...is a field.
:An *exciting* field: Isn't it, though?
:A ``literal`` like this: ...is often used in e.g. CMake documentation.
:This:
...is also a field.
::
I hope I am code, and not a field!
:role:`text` is not a field.
Nor is :role:`text`. But `text`:role: should also be a role.
This text [here] should not be special, but [this]_ is a footnote.
This [isn't]_ a footnote; no special characters allowed!
* Let's try some indented stuff...
::
I should be code!
And I should *not* be code!
* Still a list.
A literal ``example``::
Working?
This *is* a .. code-block::
...but ".. code-block" is normal text.
.. This is a comment, which should highlight things like ALERT.
This is still the comment.
This is not the comment.
.. Kate doesn't seem to recognize modelines in reST, though?
Thanks,
Matthew Woehlke
[Attachment #5 (text/html)]
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;"> <tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://git.reviewboard.kde.org/r/115544/">https://git.reviewboard.kde.org/r/115544/</a>
</td>
</tr>
</table>
<br />
<table bgcolor="#e0e0e0" width="100%" cellpadding="8" style="border: 1px gray \
solid;"> <tr>
<td>
<h1 style="margin-right: 0.2em; padding: 0; font-size: 10pt;">This change has been \
marked as submitted.</h1> </td>
</tr>
</table>
<br />
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('https://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;"> <tr>
<td>
<div>Review request for Kate and Stephen Kelly.</div>
<div>By Matthew Woehlke.</div>
<p style="color: grey;"><i>Updated March 3, 2014, 9:46 p.m.</i></p>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
kate
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">There are quite some improvements; see the git log for details.
@skelly, I noticed you don't have a copyright/authorship line here... should \
you?</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Test Content
------------
.. code-block:: c++
// This is C++ code
class Foo { int bar; };
.. code-block:: python
# This is Python code
class Foo(object):
def __init__(self):
pass
> This: ...is a field.
> An *exciting* field: Isn't it, though?
> A ``literal`` like this: ...is often used in e.g. CMake documentation.
> This:
...is also a field.
> >
I hope I am code, and not a field!
> role:`text` is not a field.
Nor is :role:`text`. But `text`:role: should also be a role.
This text [here] should not be special, but [this]_ is a footnote.
This [isn't]_ a footnote; no special characters allowed!
* Let's try some indented stuff...
::
I should be code!
And I should *not* be code!
* Still a list.
A literal ``example``::
Working?
This *is* a .. code-block::
...but ".. code-block" is normal text.
.. This is a comment, which should highlight things like ALERT.
This is still the comment.
This is not the comment.
.. Kate doesn't seem to recognize modelines in reST, though?</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>.gitlog <span style="color: grey">(PRE-CREATION)</span></li>
<li>examples/syntax/highlight.rst <span style="color: \
grey">(PRE-CREATION)</span></li>
<li>part/syntax/data/rest.xml <span style="color: \
grey">(76c476a7a1f0b774ccabf0f48a518b413b9e63e4)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/115544/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic