[geany/geany] bd7b56: Comment future fixes/additions
Lex
git-noreply at geany.org
Thu Jan 17 04:50:40 UTC 2013
Branch: refs/heads/master
Author: Lex <elextr at gmail.com>
Committer: Lex <elextr at gmail.com>
Date: Thu, 17 Jan 2013 04:50:40 UTC
Commit: bd7b56a80f2c5c250b3f3d8d94f05a7d3513e73d
https://github.com/geany/geany/commit/bd7b56a80f2c5c250b3f3d8d94f05a7d3513e73d
Log Message:
-----------
Comment future fixes/additions
Note where Asciidoc features need to be supported that would
prevent code sharing with other markup parsers.
Modified Paths:
--------------
tagmanager/ctags/asciidoc.c
Modified: tagmanager/ctags/asciidoc.c
5 files changed, 3 insertions(+), 2 deletions(-)
===================================================================
@@ -121,7 +121,8 @@ static int get_kind(char c)
/* computes the length of an UTF-8 string
- * if the string doesn't look like UTF-8, return -1 */
+ * if the string doesn't look like UTF-8, return -1
+ * FIXME consider East_Asian_Width Unicode property */
static int utf8_strlen(const char *buf, int buf_len)
{
int len = 0;
@@ -166,7 +167,7 @@ static void findAsciidocTags (void)
if (name_len < 0)
name_len = name_len_bytes;
- /* underlines must be +-2 chars */
+ /* underlines must be +-2 chars FIXME detect single line titles */
if (line_len >= name_len - 2 && line_len <= name_len + 2 && name_len > 0 &&
ispunct(line[0]) && issame((const char*) line))
{
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list