?, http://www.wartagorzow.pl/content/very-best-web-slot-machine-games-capabilities-and-also-everything slots online, 8-*1), http://vm-pr11.cicese.mx:80/content/very-best-online-spots-treatment-depends-your-choices uk slots no download no registration, pqm, http://yjolt.org/suggested-video-poker-machines-places-are-only-14-mls-aside best uk slots bonus, ucutoc, http://psd2html.dazzlesphere.biz/content/harrahs-casino-throughout-fresh-orleans-blank-lot-slots-however-minor-motivator-remain-about best payout online slots uk, hwecqr, http://chq.gov.mv/?q=content/asus-matrix-gtx-580-and-also-mars-ii-personal-computer-images-handmade-cards-exposed-get-thr&nocache=1 online slots uk paypal, xag, http://m.bretagne35.com/?q=node/65258 slots uk online, 459, http://www.felmar.it/en/content/cost-free-gambling-house-slots-line-absolutely-no-down-load online slots guide uk, kmh, http://www.r8ny.com/images/notebook_memory_installment_guidance_blank_locating_sodimm_memory_slot_machine_games.html?t=1396917083 uk slots no download, :-[[, http://www.poland.alloexpat.com/node/6646 best slots online uk, 15211,
方針 - 従来の行末にある「~」で行われる改行は、行頭書式に統一すべし。(要語先行)
- 統一した場合、Wikiコードから書式を読むとき、行頭の縦読みだけで済む。
- Wikiの行末書式は「~」しかない ⇔ 行頭書式が殆ど
- 行頭が「;」で始まる「SC改行改段書式/SemiColon改行改段書式」を導入
- 多くのプログラミングで用いられる文終了記号「;」を次の文の開始記号と再解釈し、行頭に持ってきた。
仕様 - 行頭が「;.」の行は無書式として、何もせずに前の行に続ける。
- 行頭が「;,」の行は行頭で改行する。
- 行頭が「;:」の行は行頭で改段する。空行を挿入せず、他の行頭書式に干渉しない。(形式段落用)
- 行頭が「;;」の行は行頭で改段する。空行を挿入し、他の行頭書式を終わらす。(意味段落用)
- 行頭が「;」 は改行の省略表現。(文節区切りで改行する体裁用)
- 行頭改行が段頭に来た場合は無効化する。
- 区切りの強いさは、点の大きさと数に比例する。
- Cなど多くのプログラミング言語での区切りの強い順になっている。
- 「.」はPHPでは文字列連結演算子に使われる ⇒ 行結合
改造 - lib/convert_html.php で、class Body のfunction parse のwhile (!empty($lines)) 中の下の方に以下のコードを変更・挿入。
これより、段頭の改行が無効化される。 ### diff // Body class Body extends Element { ... function parse(& $lines) { ... while (!empty($lines)) { ... // The first character - $head = $line{0}; + $head = substr($line,0,1); + $head2 = substr($line,0,2); + + // ; Format + if ($head2 == ';.') {// SCNF: SemiColon-NoFormat + $this->last = & $this->last->add(new Inline(substr($line, 2))); + continue; + } + if ($head2 == ';,') {// SCNL: SemiCcolon-NewLine + $this->last = & $this->last->add(new Inline("\r".substr($line, 2))); // Same as Default to Add Text + continue; + } + if ($head2 == ';:') {// SCNP: SemiColon-NewParagraph (Week) + $this->last = & $this->last->add(new Paragraph(' '.substr($line, 2))); // Same as ~-Format to Add Paragraph + continue; + } + if ($head2 == ';;') {// SCNP: SemiColon-NewParagraph + $this->last = & $this->last->add(new EmptyLine($this->last)); // Same as Empty Line to add Inter-line Space + $this->last = & $this->last->add(new Paragraph(' '.substr($line, 2))); // Same as ~-Format to Add Paragraph + continue; + } + if ($head == ';') {// SCNL: SemiCcolon-NewLine // Equal to ($head2 == ';,') + $this->last = & $this->last->add(new Inline("\r".substr($line, 1))); + continue; + } ###- 「-」で始まる行は class Body からの削除。
- 「+」で始まる行は class Body への追加。
- lib/convert_html.php で、class Inline のfunction & toPara に以下のコードを挿入。 ### diff class Inline extends Element { ... function & toPara($class = '') { $obj = & new Paragraph('', $class); $obj->insert($this); + + if (substr($this->elements[0],0,6)=='<br />'){ // To cancel SCNL which is after empty-line. + $this->elements[0] = substr($this->elements[0],7); + } return $obj; } } ###
|
, http://goldgesso.com.br.garbogesso.com.br/node/165405 slots online, :-*2, http://mecklenburg.countync.us/node/408922?nocache=1 slots online, >:P, http://www.aemas.org/node/28527 slots, lush, http://www.xn--vipgsteliste-jcb.de/booking/3707 free no deposit slots uk 2012, 8-OO, http://www.digitalreef.net/node/2872 free no deposit slots uk 2012, %-
(, http://mitchell.countync.us/node/401553?nocache=1 mobile slots uk no deposit, 8D, http://form.flexpaths.com/content/preparing-proposal-3945 slots online, 639708, http://www.cnmt.ru/content/play-ideal-canada-line-spots-glass-windows-casino-quebec slots online, mmkqtw, http://www.portaldelcuadrado.com.ar/?q=node/10907 slots, 571, http://www.skilledwork.org/solar-place-accorded-slots-oregon-countrys-will-certainly-fly-be-able-lansing online slots no deposit bonus uk, =-
|