import { Component, Input, OnInit, OnChanges, ElementRef, ViewChild} from '@angular/core';
import { MarkupSettings, StandoffMarkup } from 'ngx-mat-standoff-markup';
import { ConfigurableComponent, PageViewService, TlnQueryService } from '../services';
import { Configuration, Continuation, Copyright, Point, Position, PositionalObject, Reference, TextByForeignHand, TlnQueryServiceInterface, Word } from '../models';
import { TlnEarlierVersionStub, TlnOverwrittenStub } from '../datatypes/earlier_version';
import { TlnLineReference } from '../datatypes/line_reference';
import { TlnPreviewWord } from '../datatypes/preview_data';
import { TlnPositionalStyleMarkup, TlnFilteredPositionalStyleMarkup } from '../datatypes/positional-markup';
import { DataHandler } from '../data_handler';
/**
* This component can be used to show extended tooltips, i.e. with deleted words and distinguished
* words if they are by foreign hand.
**/
@Component({
selector: 'tool-tip',
templateUrl: './tool-tip.component.html',
styleUrls: ['./tool-tip.component.css']
})
export class ToolTipComponent extends ConfigurableComponent implements OnInit, OnChanges {