Skip to content

ffreemt/ptextpad-electron

Repository files navigation

ptextpad-el

electron-forge DeepScan grade License: MIT

A parallel text editor using electron

What is ptextpad

ptextpad is a parallel text editor intended for editing two texts in a two-column manner. ptextpad incorperates some automatic alignment engines (currently just ezbee and for Chinese-English texts) and mlbee for many many laugnage pairs.

Install (currently Windows 64-bit only)

Download assets from the latest package and install.

Or from source

git clone https://github.com/ffreemt/ptextpad-electron.git
cd ptextpad-electron
npm install  # or yarn
npm run dev  # yarn dev

Usuage tips

  • Double-click or press Enter to edit a cell
  • Press Enter or click another cell to exit the in-cell editor
  • Click SaveEdit (Ctl-E) to effect change after editing

What's new

  • SaveEdit (manual editing and save) ready
  • mlbee has been integrated into ptextpad.

TODO

  • ptextpad-el currently just has ezbee automatic alignment support that replies on a remote server. Supports for dzbee, debee along with a possible local server are in plan phase. Installation packages for Linux/macOs will be provided later on. Stay tuned.

  • Additional functionalities and Keyboard shortcuts for moving a cell up/down will be implemented. Shortcuts for other convenient editing functionalities such as splitting/combining will also be implemented if feasible.

  • Split to sentences and align.

Debug

Turn on debug

set TRACER_DEBUG=debug

# linux/macOS export TRACER_DEBUG=debug

and run ptextpad-el from command line.

ptextpad-el.exe is by default installed in C:\Users\User\AppData\Local\Programs\ptextpad-el\ptextpad-el.exe in Windows

Suggestions and Feedback

Suggestions and feedback will be very happily received while whining will be ignored. PRs are more than welcome.