+1
Fertiggestellt

Reuse existing text editing component

burrum vor 13 Jahren aktualisiert von Alex Jenter vor 12 Jahren 2

If you browse suggested/planned features here, you'll notice that many of them relate to editing text, including rich formatting, show hidden characters, indenting, code highlight, etc.

It will take long time and big effort implementing this for one person.

As an option, plugging one of already existing text editing components into note editing window could bring many of requested features.

As a candidate component, I propose Scintilla (http://www.scintilla.org/), used in Notepad++, SciTE and some other text editors. It is free and provides features I would love to have in CintaNotes, such as proper parahraph indenting, current line highlight, support for code highlight and tons of other stuff.

This approach of course has some disadvantages, as increased complexity, adding dependency, increazed program disk size and maybe some difficulties in adopting it for one of my most anticipated features - in-place note editing.

But at least for the benefits of not coding all available features this solution deserves to be [at least] considered.

editing

Antwort

Antwort
Fertiggestellt
CintaNotes uses MS RichEdit. I reckon it should count as reuse)
Let me correct myself a little. Scintilla component doesn't provide rich formatting - you won't make Word-like texts in it (with various fonts, shadows, text rotation, images, video and animation), it's more for source code processing. But the general idea was not to code so much from scratch.
Scintilla is indeed quite limited with regards to text formatting and especially right-to-left languages support. For the time being I guess CintaNotes will stick to the standard Windows RichEdit control.
Antwort
Fertiggestellt
CintaNotes uses MS RichEdit. I reckon it should count as reuse)