<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>morchin</author_name>
  <author_url>https://blog.hatena.ne.jp/morchin/</author_url>
  <blog_title>プログラミング日記</blog_title>
  <blog_url>https://morchin.hatenadiary.org/</blog_url>
  <categories>
    <anon>一般</anon>
  </categories>
  <description>k.inabaさんの「テキストエディタを作るメモ」のGapBufferやらRopeやらPieceTableやらを見て、テキストエディタを作るのに興味出てきたのと、C#やIronPythonやCPythonでGUIを作る勉強をするのも兼ねて、Windowsで動くテキストエディタを作ることにした。 データ構造として行の保持方法としては、とりあえず１つの行を文字クラス(String)で表現すると仮定して、複数行の保持はリンクリストで行うのがベスト。しかし、問題点として、行番号を指定してデータを取り出すのが遅いのが難点。 データを直にリンクリストにするのではなく、間接的にもできる。PieceTable…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmorchin.hatenadiary.org%2Fentry%2F20070320%2Fp1&quot; title=&quot; テキストエディタを作る - プログラミング日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-03-20 00:00:00</published>
  <title> テキストエディタを作る</title>
  <type>rich</type>
  <url>https://morchin.hatenadiary.org/entry/20070320/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
