Viewing 1 post (of 1 total)
- AuthorPosts
- February 25, 2025 at 4:16 pm #30177
Yutaka Emura
Keymaster// Query whether the options in the Advanced dialog (via Advanced button in Find dialog) are set to default function IsFindAdvancedModified() { nHigh = 0; nLow = 0; s = editor.GetProfileString(eeRegCommon, "", "FindFlag", "0"); if (s.length == 18 && s.substr(0, 2) == "0x") { nHigh = parseInt(s.substr(2, 8), 16); nLow = parseInt(s.substr(10, 8), 16); } bModified = false; if (nHigh & (eeExFindSeparateCRLF | eeExFindBOL | eeExFindEOL | eeExFindLookaround | eeExFindRegexBoost | eeExFindRegexOnigmo | eeExFindRegexOnigmoPerl | eeExFindNoOverlap)) { bModified = true; } if (nLow & (eeFindReplaceEmbeddedNL | eeFindMatchDotNL)) { bModified = true; } n = editor.GetProfileInt(eeRegCommon, "", "LinesSearch", 0); if( n != 0 ) { bModified = true; } return bModified; } alert(IsFindAdvancedModified());
- AuthorPosts
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.