[ADF-3591] spellcheck support for code (#3827)

* setup spellcheck
This commit is contained in:
Denys Vuika
2018-10-23 15:05:38 +01:00
committed by Eugenio Romano
parent 53d96679ea
commit e39a2b149b
262 changed files with 1561 additions and 1005 deletions

View File

@@ -17,7 +17,7 @@
import { Injectable } from '@angular/core';
export interface HightlightTransformResult {
export interface HighlightTransformResult {
text: string;
changed: boolean;
}
@@ -34,7 +34,7 @@ export class HighlightTransformService {
* @param wrapperClass CSS class used to provide highlighting style
* @returns New text along with boolean value to indicate whether anything was highlighted
*/
public highlight(text: string, search: string, wrapperClass: string = 'highlight'): HightlightTransformResult {
public highlight(text: string, search: string, wrapperClass: string = 'highlight'): HighlightTransformResult {
let isMatching = false,
result = text;