[Module] EditorEx (Custom Editor Gadget)
Re: [Module] EditorEx (Custom Editor Gadget)
@Thorsten1867,
Excellent!
Thank you. The cursor works fine now.
Excellent!
Thank you. The cursor works fine now.
DE AA EB
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] EditorEx (Custom Editor Gadget)
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
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] EditorEx (Custom Editor Gadget)
Bugfixes
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] EditorEx (Custom Editor Gadget)
Update:
- Added: WrapText() - wrap saved text without loading it into the gadget before.
- Reorganization and revision of drawing and scroll routines.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] EditorEx (Custom Editor Gadget)
Update:
- List of suggested corrections: Button to add a word to the user dictionary.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Module] EditorEx (Custom Editor Gadget)
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:
Linebreak do not work anymore
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
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] EditorEx (Custom Editor Gadget)
Fixed
I hope I didn't miss anything.
I hope I didn't miss anything.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Module] EditorEx (Custom Editor Gadget)
worked
thx
thx
Re: [Module] EditorEx (Custom Editor Gadget)
How can I get an event for a changing text?
Re: [Module] EditorEx (Custom Editor Gadget)
line 1904/(and many more): #Event_Gadget not found
same lines (and many more): StrgEx() not found
same lines (and many more): StrgEx() not found
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] EditorEx (Custom Editor Gadget)
Fixed
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Module] EditorEx (Custom Editor Gadget)
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.
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.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] EditorEx (Custom Editor Gadget)
This is rather a task for ListEx.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Module] EditorEx (Custom Editor Gadget)
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]
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]