r22229 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22228‎ | r22229 | r22230 >
Date:18:37, 17 May 2007
Author:brion
Status:old
Tags:
Comment:
Update with class for line number cells per update in trunk. Fixes RTL alignment.
Modified paths:
  • /trunk/extensions/wikidiff2/wikidiff2.cpp (modified) (history)

Diff [purge]

Index: trunk/extensions/wikidiff2/wikidiff2.cpp
@@ -28,8 +28,8 @@
2929 if (linediff[i].op != DiffOp<std::string>::copy && i == 0) {
3030 ret +=
3131 "<tr>\n"
32 - " <td colspan=\"2\" align=\"left\"><strong><!--LINE 1--></strong></td>\n"
33 - " <td colspan=\"2\" align=\"left\"><strong><!--LINE 1--></strong></td>\n"
 32+ " <td colspan=\"2\" class=\"diff-lineno\"><!--LINE 1--></td>\n"
 33+ " <td colspan=\"2\" class=\"diff-lineno\"><!--LINE 1--></td>\n"
3434 "</tr>\n";
3535 }
3636
@@ -61,8 +61,8 @@
6262 char buf[256]; // should be plenty
6363 sprintf(buf,
6464 "<tr>\n"
65 - " <td colspan=\"2\" align=\"left\"><strong><!--LINE %u--></strong></td>\n"
66 - " <td colspan=\"2\" align=\"left\"><strong><!--LINE %u--></strong></td>\n"
 65+ " <td colspan=\"2\" class=\"diff-lineno\"><!--LINE %u--></td>\n"
 66+ " <td colspan=\"2\" class=\"diff-lineno\"><!--LINE %u--></td>\n"
6767 "</tr>\n",
6868 from_ind, to_ind);
6969 ret += buf;

Follow-up revisions

RevisionCommit summaryAuthorDate
r67994* Added Thai word break support. Adds a libthai dependency....tstarling13:29, 14 June 2010