Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp

Issue 2397963002: Reflow comments in //third_party/WebKit/Source/core/editing/commands (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp b/third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp
index 1c0289b3dea6298dcfc98fdc9cec9a1d331985c2..38bc73590f3a3048ec9413cb26a2b445112c8049 100644
--- a/third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp
@@ -51,16 +51,11 @@ static CFMutableCharacterSetRef getSmartSet(bool isPreviousCharacter) {
CFCharacterSetAddCharactersInRange(
smartSet,
CFRangeMake(0x2E80, 352)); // CJK & Kangxi Radicals (0x2E80 - 0x2FDF)
- CFCharacterSetAddCharactersInRange(
- smartSet,
- CFRangeMake(
- 0x2FF0,
- 464)); // Ideograph Descriptions, CJK Symbols, Hiragana, Katakana, Bopomofo, Hangul Compatibility Jamo, Kanbun, & Bopomofo Ext (0x2FF0 - 0x31BF)
- CFCharacterSetAddCharactersInRange(
- smartSet,
- CFRangeMake(
- 0x3200,
- 29392)); // Enclosed CJK, CJK Ideographs (Uni Han & Ext A), & Yi (0x3200 - 0xA4CF)
+ // Ideograph Descriptions, CJK Symbols, Hiragana, Katakana, Bopomofo, Hangul
+ // Compatibility Jamo, Kanbun, & Bopomofo Ext (0x2FF0 - 0x31BF)
+ CFCharacterSetAddCharactersInRange(smartSet, CFRangeMake(0x2FF0, 464));
+ // Enclosed CJK, CJK Ideographs (Uni Han & Ext A), & Yi (0x3200 - 0xA4CF)
+ CFCharacterSetAddCharactersInRange(smartSet, CFRangeMake(0x3200, 29392));
CFCharacterSetAddCharactersInRange(
smartSet,
CFRangeMake(0xAC00, 11183)); // Hangul Syllables (0xAC00 - 0xD7AF)

Powered by Google App Engine
This is Rietveld 408576698