Commit Graph

324 Commits

Author SHA1 Message Date
7bee133a9c Update App.tsx to handle markdown preview and split view states 2026-02-01 04:29:38 +01:00
fefa100175 Include splitView in the dependency array for requestMeasure 2026-02-01 04:29:31 +01:00
cf92325bed Add split view state and update localStorage handling 2026-02-01 04:29:31 +01:00
44e64df922 Update README.md: Remove toggle instruction from Markdown preview mode description 2026-02-01 04:27:22 +01:00
7e2964e9f9 Remove unused import in src/App.tsx 2026-02-01 04:25:16 +01:00
2f84b8bce1 Remove unused tab keymap functionality in App.tsx 2026-02-01 04:24:10 +01:00
485e8b4ed8 Reorder imports in App.tsx for consistency 2026-02-01 04:19:24 +01:00
eecba280a3 Remove unused dependency in package.json 2026-02-01 04:19:24 +01:00
4cc25c1f87 Remove unused CSS import in App.tsx 2026-02-01 04:16:03 +01:00
f4baeeca3d Update keymap configuration in App.tsx 2026-02-01 04:12:15 +01:00
2265ae70b5 Add editorReady state and update dependencies 2026-02-01 04:10:26 +01:00
18945e578e Change font family to inherit in index.css 2026-02-01 04:10:26 +01:00
27ca21094d Prevent default behavior for save shortcut in editor 2026-02-01 04:10:26 +01:00
9671f63828 Refactor editor setup and add tab keymap functionality 2026-02-01 04:09:24 +01:00
2f459a0df4 Hide line numbers and measure in print mode 2026-02-01 04:04:27 +01:00
fd734a7c64 Import CodeMirror styles in App.tsx 2026-02-01 04:03:20 +01:00
7518f032a2 Remove unused CSS for line numbers 2026-02-01 04:02:04 +01:00
3456700ccd Add effect to request editor measure on state changes 2026-02-01 04:01:56 +01:00
f0b7a49611 Change font size in index.css to use CSS variable 2026-02-01 04:01:56 +01:00
9f962afcb5 Update package.json with new dependencies 2026-02-01 04:01:56 +01:00
0413d87a55 Remove src/lib/tln.ts file 2026-02-01 04:01:04 +01:00
aeafaf1d96 Update editor styles for CodeMirror integration 2026-02-01 04:00:57 +01:00
7921384ddf Replace textarea with div for CodeMirror in App.tsx 2026-02-01 04:00:33 +01:00
b843b72670 Update App.tsx to use editorView and compartments for line numbers and editable state 2026-02-01 04:00:21 +01:00
14ed5afe7b Add useEffect to initialize CodeMirror editor in App.tsx 2026-02-01 03:59:56 +01:00
34d8434fb3 Update App.tsx with new refs for editor components 2026-02-01 03:59:56 +01:00
9ecbe6ec65 Update App.tsx with CodeMirror imports and configurations 2026-02-01 03:59:44 +01:00
3ccb7bbe68 Set height to 100% for folder-item in index.css 2026-02-01 03:53:02 +01:00
28809839f2 Use markdownHtml for dangerouslySetInnerHTML in App.tsx 2026-02-01 03:53:02 +01:00
97a3871a8d Add markdownHtml memoization in App.tsx 2026-02-01 03:53:02 +01:00
8c1cf0e6a0 Add useEffect to refresh line numbers in App.tsx 2026-02-01 03:51:30 +01:00
6c528d6fb0 Import refreshLineNumbers in App.tsx 2026-02-01 03:51:30 +01:00
81a7a4fac8 Add refreshLineNumbers function to tln.ts 2026-02-01 03:51:30 +01:00
5b5371d3a8 Add CSS for hidden textarea and line numbers 2026-02-01 03:51:03 +01:00
a1f129a9cb No actual change detected in this commit 2026-02-01 03:51:03 +01:00
44b00e4a13 Import and use appendLineNumbers and removeLineNumbers functions 2026-02-01 03:51:03 +01:00
9dbce4ebee Add line number functionality to text area 2026-02-01 03:51:03 +01:00
18ae1c3d3b Remove onScroll event listener from textarea 2026-02-01 03:51:03 +01:00
15a1b22c91 Remove unused handleTextareaScroll function 2026-02-01 03:51:03 +01:00
afe8a39085 Simplify and optimize App.tsx by removing line numbers and improving markdown preview handling 2026-02-01 03:49:47 +01:00
ddba57d28b Refactor line number handling in App.tsx 2026-02-01 03:49:27 +01:00
10c6043e4e Simplify handleTextareaScroll and remove unused memoized functions in App.tsx 2026-02-01 03:49:09 +01:00
574e7899a5 Remove unused state and ref variables in App.tsx 2026-02-01 03:49:09 +01:00
2d256af21f Remove unused CSS classes in src/index.css 2026-02-01 03:32:32 +01:00
3ed9de1c54 Remove line number measure element from App.tsx 2026-02-01 03:32:27 +01:00
dd288313b9 Simplify line measurement logic in App.tsx 2026-02-01 03:32:27 +01:00
699b55b8fd Remove unused measureRef from App.tsx 2026-02-01 03:32:27 +01:00
997c8767e6 Optimize line metrics computation in App.tsx 2026-02-01 03:32:11 +01:00
b5a6b556c9 Update visible range calculation in App.tsx 2026-02-01 03:32:11 +01:00
51e8fea77b Refactor line calculation logic in App.tsx 2026-02-01 03:31:21 +01:00