Here are the examples of the csharp api class Poderosa.Terminal.XTerm.EnsureTabStops(int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
1. Example
View licenseprivate void SetTabStop(int index, bool value) { EnsureTabStops(index + 1); _tabStops[index] = value; }
0
2. Example
View licenseprotected int GetPrevTabStop(int start) { EnsureTabStops(start + 1); int index = start - 1; while (index > 0) { if (_tabStops[index]) return index; index--; } return 0; }
0
3. Example
View licenseprotected override int GetNextTabStop(int start) { EnsureTabStops(Math.Max(start + 1, GetDocument().TerminalWidth)); int index = start + 1; while (index < GetDocument().TerminalWidth) { if (_tabStops[index]) return index; index++; } return GetDocument().TerminalWidth - 1; }