Page 3 of 5

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Thu Oct 03, 2019 7:15 pm
by davido
@Thorsten1867,
Excellent!
Thank you. The cursor works fine now. :D

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Sat Oct 05, 2019 5:12 pm
by Thorsten1867
Update:
  • Simplifications and optimizations
  • Automatic spell checking is now independent of syntax highlighting
  • Loading the hyphenation pattern activates hyphenation
  • Softhyphen overrides hyphenation of word
  • Adding a word (including color) activates syntax highlighting.
  • EnableAutoSpellCheck() enabled spell check as default for all gadgets
  • Right double click replaced by left double click (select word) & right click (correction suggestions)
  • Bugfix: SyntaxHighlighting of separated words

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Sun Oct 06, 2019 2:12 pm
by Thorsten1867
Bugfixes

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Mon Oct 14, 2019 9:00 am
by Thorsten1867
Update:
  • Added: WrapText() - wrap saved text without loading it into the gadget before.
  • Reorganization and revision of drawing and scroll routines.

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Thu Oct 17, 2019 3:58 pm
by Thorsten1867
Update:
  • List of suggested corrections: Button to add a word to the user dictionary.

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Tue Nov 19, 2019 12:01 pm
by Cyllceaux
Line 2612: AddToUserDictionary not found, when #Enable_SpellChecking = #False

Line 4854: Hypernation not declared, when #Enable_Hyphenation = #False

Line 2293: List has no element when onyl:

Code: Select all

Define edtNotizInhalt=EditEx::Gadget(#PB_Any,x,y,280,100,EditEx::#AutoResize,windowMain)

Code: Select all

	#Enable_Hyphenation     = #False  ; Requires file with hyphenation patterns => LoadHyphenationPattern()
	#Enable_SpellChecking   = #False	; Requires file with dictionary           => LoadDictionary()
	#Enable_SyntaxHighlight = #False
	#Enable_UndoRedo        = #True 
Linebreak do not work anymore

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Tue Nov 19, 2019 2:27 pm
by Thorsten1867
Fixed

I hope I didn't miss anything.

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Tue Nov 19, 2019 2:57 pm
by Cyllceaux
worked

thx :)

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Wed Nov 20, 2019 2:53 pm
by Cyllceaux
How can I get an event for a changing text?

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Thu Nov 21, 2019 8:06 am
by Cyllceaux
line 1904/(and many more): #Event_Gadget not found
same lines (and many more): StrgEx() not found

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Thu Nov 21, 2019 8:33 am
by Thorsten1867
Fixed :oops:

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Thu Nov 21, 2019 8:35 am
by Cyllceaux
Thx :)

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Tue Nov 26, 2019 10:32 am
by Bitblazer
I am trying to use this module in a project where i need to show lines with different colors. Is there a way to use individual colors for each line i add?

The reason is that i use different colors for a logging window. For example - severe errors have a bright red while informational messages use different levels of grey/blue.

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Tue Nov 26, 2019 1:23 pm
by Thorsten1867
This is rather a task for ListEx.

Re: [Module] EditorEx (Custom Editor Gadget)

Posted: Sat Mar 07, 2020 12:34 pm
by Thorsten1867
Update:
  • ScrollBarGadget() replaced by drawing routine
  • Attribute #ScrollBar [#ScrollBar_Default/#ScrollBar_Frame/#ScrollBar_DragPoint]
  • SetColor() -> [#ScrollBar_FrontColor/#ScrollBar_BackColor/#ScrollBar_BorderColor/#ScrollBar_ButtonColor/#ScrollBar_ThumbColor]