UBERF-8560 Imrove editor code highlight (#7074)

This commit is contained in:
Alexander Onnikov
2024-10-31 20:39:47 +07:00
committed by GitHub
parent 1b02810fda
commit 6962e80acd
21 changed files with 423 additions and 43 deletions
@@ -16,7 +16,7 @@
import { Html, Loading, themeStore } from '@hcengineering/ui'
import { DiffFile, DiffLine, DiffLineType, DiffViewMode } from '@hcengineering/diffview'
import { DiffLineRenderResult, RenderOptions, renderHunk } from '../highlight'
import { DiffLineRenderResult, RenderOptions, renderHunk } from '../render'
export let file: DiffFile
export let mode: DiffViewMode
@@ -13,10 +13,9 @@
// limitations under the License.
-->
<script lang="ts">
import { highlightText } from '@hcengineering/highlight'
import { Html } from '@hcengineering/ui'
import { highlightText } from '../highlight'
export let value: string
export let language: string | undefined = undefined