]> git.lyx.org Git - features.git/commitdiff
Comment out unused function.
authorRichard Heck <rgheck@comcast.net>
Fri, 23 Sep 2011 17:52:20 +0000 (17:52 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 23 Sep 2011 17:52:20 +0000 (17:52 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39740 a592a061-630c-0410-9148-cb99ea01b6c8

src/lyxfind.cpp

index af27be2b91861d4a953ad410999a150d5b58c79a..75fa19e46ec6b1483d78096e370b4058dd8e399d 100644 (file)
@@ -565,6 +565,9 @@ string apply_escapes(string s, Escapes const & escape_map)
        return s;
 }
 
+#if 0
+// This is not used any longer, but I do not know if we want to delete
+// it, since it seems like maybe it might be needed again.
 /** Return the position of the closing brace matching the open one at s[pos],
  ** or s.size() if not found.
  **/
@@ -585,6 +588,7 @@ static size_t find_matching_brace(string const & s, size_t pos)
        }
        return s.size();
 }
+#endif
 
 /// Within \regexp{} apply get_lyx_unescapes() only (i.e., preserve regexp semantics of the string),
 /// while outside apply get_lyx_unescapes()+get_regexp_escapes().