SIL.FieldWorks.IText.InterlinVc.SetupRealVernWsForDisplay C# (CSharp) Method

SetupRealVernWsForDisplay() private method

setups up the display to work with the given wsVern.
private SetupRealVernWsForDisplay ( int wsVern ) : void
wsVern int
return void
		private void SetupRealVernWsForDisplay(int wsVern)
		{
			if (wsVern <= 0)
				throw new ArgumentException(String.Format("Expected a real vernacular ws (got {0}).", wsVern));
			if (m_wsVernForDisplay == wsVern)
				return;	// already setup
			m_wsVernForDisplay = wsVern;
			TsStringUtils.ReassignTss(ref m_tssEmptyVern, m_tsf.MakeString("", wsVern));
			m_fRtl = m_wsManager.Get(wsVern).RightToLeftScript;
			TsStringUtils.ReassignTss(ref m_tssMissingAnalysis, m_tsf.MakeString(ITextStrings.ksStars, wsVern));
			m_tssMissingMorph = m_tssMissingAnalysis;
			m_tssMissingEntry = m_tssMissingAnalysis;
		}