This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Highlighter | |
{ | |
private const string TempStartToken = "\x02"; | |
private const string TempEndToken = "\x03"; | |
private const string SearchPatternTemplate = $"[{TempStartToken}{TempEndToken}]*{{0}}"; | |
private const string ReplacePattern = $"{TempStartToken}$&{TempEndToken}"; | |
private readonly ConcurrentDictionary<HighlightKey, Regex> _regexPatternsCache = new(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Our demo fragment | |
*/ | |
public static class CircularRevealingFragment extends Fragment { | |
OnFragmentTouched listener; | |
public CircularRevealingFragment() { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace SHOpenFolderAndSelectItems | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Runtime.CompilerServices; | |
using System.Runtime.InteropServices; | |
using System.Runtime.InteropServices.ComTypes; |