package Ġorg . jetbrains . r . documentation Ċ Ċ import Ġcom . intellij . code Insight . documentation . render . Doc Render Manager Ċ import Ġcom . intellij . openapi . file Editor . File Document Manager Ċ import Ġcom . intellij . openapi . file Editor . Text Editor Ċ import Ġcom . intellij . openapi . file Editor . impl . text . Text Editor Customizer Ċ import Ġorg . jetbrains . r . r interop . R SourceFile Manager Ċ Ċ class ĠR Text Editor Customizer Ġ: ĠText Editor Customizer Ġ{ ĊĠ Ġoverride Ġfun Ġcustomize ( text Editor : ĠText Editor ) Ġ{ ĊĠĠĠ Ġval Ġmanager Ġ= ĠFile Document Manager . getInstance () ĊĠĠĠ Ġval Ġfile Ġ= Ġmanager . getFile ( text Editor . editor . document ) ĊĠĠĠ Ġif Ġ( file Ġ!= Ġnull Ġ&& ĠR SourceFile Manager . is Temporary ( file )) Ġ{ ĊĠĠĠĠĠ ĠDoc Render Manager . set Doc Rendering Enabled ( text Editor . editor , Ġtrue ) ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ }