小笠原です。
これ分かった気がします。
以下のパッチで治るようです。
--- LibreLogo.py.bak 2016-07-15 19:39:37.899261161 +0900
+++ LibreLogo.py 2016-07-16 09:04:24.266613713 +0900
@@ -392,7 +392,7 @@
pagebreak = False
selection.setString(text)
# convert to paragraphs
- __dispatcher__(".uno:ExecuteSearch",
(__getprop__("SearchItem.SearchString", r"\n"),
__getprop__("SearchItem.ReplaceString", r"\n"), \
+ __dispatcher__(".uno:ExecuteSearch",
(__getprop__("SearchItem.SearchString", "\n"),
__getprop__("SearchItem.ReplaceString", "\n"), \
__getprop__("Quiet", True), __getprop__("SearchItem.Command", 3),
__getprop__("SearchItem.StyleFamily", 2), \
__getprop__("SearchItem.AlgorithmType", 1),
__getprop__("SearchItem.RowDirection", 1),
__getprop__("SearchItem.SearchFlags", 65536)))
# set 2-page layout
当該のReplaceStringは「改行文字(Ctrl+Enterで挿入されるもの)を
改段落(通常Enterで入力できる)にする」という意図を持っているよう
ですが、 r"hoge" は正規表現なので意味が変わってしまうようです。
ただこのコード2012-11-07のコミットc2a393fbからずっと変わって
ないので、なんで急に挙動が変わったのかは謎です……。
ここまで調べたので、バグレポートは私がしようかなと思います。
では。
--
Naruhiko NARU Ogasawara ([email protected])
--
--
Naruhiko Ogasawara ([email protected])
--
Unsubscribe instructions: E-mail to [email protected]
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/ja/discuss/
All messages sent to this list will be publicly archived and cannot be deleted