(register: string)
| 194 | return new VimError(ErrorCode.NothingInRegister, `Nothing in register ${register}`); |
| 195 | } |
| 196 | static InvalidRegisterName(register: string): VimError { |
| 197 | return new VimError(ErrorCode.InvalidRegisterName, `Invalid register name: '${register}'`); |
| 198 | } |
| 199 | static SearchHitTop(pattern: string): VimError { |
| 200 | return new VimError(ErrorCode.SearchHitTop, `Search hit TOP without match for: ${pattern}`); |
| 201 | } |