feat: Introduce Hashline encoding/validation, implement core REPL and chat session logic, and establish initial project structure with a license and editor configuration.
This commit is contained in:
@@ -83,6 +83,13 @@ internal static class HashlineValidator
|
||||
/// <summary>
|
||||
/// Validates both a start and end anchor, and ensures start <= end.
|
||||
/// </summary>
|
||||
/// <param name="startAnchor">The starting anchor string.</param>
|
||||
/// <param name="endAnchor">The ending anchor string.</param>
|
||||
/// <param name="lines">Current file lines (without newlines).</param>
|
||||
/// <param name="startIndex">Resolved 0-based start index on success.</param>
|
||||
/// <param name="endIndex">Resolved 0-based end index on success.</param>
|
||||
/// <param name="error">Human-readable error message on failure.</param>
|
||||
/// <returns>True if the range is valid; false otherwise.</returns>
|
||||
public static bool TryResolveRange(
|
||||
string startAnchor,
|
||||
string endAnchor,
|
||||
|
||||
Reference in New Issue
Block a user