Sign in
skia
/
external
/
github.com
/
BalazsJako
/
ImGuiColorTextEdit
/
HEAD
« Previous
93e64c3
Update README.md
by BalazsJako
· 6 years ago
b854d7f
Assign identifier to id string, to avoid dynamic string allocations in unordered map lookup. Sadly I don't see any way to avoid the copy and use a custom hash+lookup function in combination with unordered_map.
by Marcel Smit
· 6 years ago
b5d62c4
Use a classic callback function instead of std::function as it has lower overhead.
by Marcel Smit
· 6 years ago
cc9aa2e
Return language definition by reference to avoid copies.
by Marcel Smit
· 6 years ago
12f3b54
- Fix for cstyle identifier not matching identifiers that start with an underscore.
by Marcel Smit
· 6 years ago
54ccb21
Updated C language definition to use fast colorization and condensed the code a bit.
by Marcel Smit
· 6 years ago
47b1088
- Moved all cstyle tokenizers into functions.
by Marcel Smit
· 6 years ago
5a8e4cb
Further optimized colorization, C++ language parsing for TextEditor.cpp went down to 1ms from 178ms (178x speedup):
by Marcel Smit
· 6 years ago
09ab514
Optimized colorization, C++ language parsing for TextEditor.cpp went down to 6ms from 178ms (30x speedup):
by Marcel Smit
· 6 years ago
8864f29
Made automatic indentation enables yes/no language definition dependent.
by Marcel Smit
· 6 years ago
10917ee
Merge pull request #37 from marcel303/improvedLineHandling
by BalazsJako
· 6 years ago
419bb9b
Merge branch 'master' into improvedLineHandling
by BalazsJako
· 6 years ago
8cd5bcd
Merge pull request #39 from marcel303/ignoreCarriageReturn
by BalazsJako
· 6 years ago
439c514
Fixed warnings.
by BalazsJako
· 6 years ago
a7549d4
Merge pull request #40 from marcel303/invalidMousePosFix
by BalazsJako
· 6 years ago
1f6ad3a
Initially, ImGui's mouse position is invalid. Some crazy huge number is used as a magic value to check for this. ImGui has a function to do this. I've added a check around where the mouse pos is translated into a tool tip. This fixes an 'undefined behavior sanitizer' issue through XCode.
by Marcel Smit
· 6 years ago
00b609f
Ignore carriage return when SetText is called. This makes sure Windows formatted text files (which use CR+LF) are handled correctly. Currently in the demo many lines get an invisible space-like character added to the end of the line, because the '\r' character (which is non-visible) is added to the end of the line. This change makes sure those are gone.
by Marcel Smit
· 6 years ago
f856f89
Added basic automatic indentation when pressing enter to create a new line.
by Marcel Smit
· 6 years ago
6444b31
Update README.md
by BalazsJako
· 6 years ago
5e2df2e
A big cleanup after merging lots of pull requests.
by BalazsJako
· 6 years ago
514b0cf
Merge pull request #36 from marcel303/setEmptyTextFix
by BalazsJako
· 6 years ago
2fc5165
Merge pull request #35 from marcel303/scrollingJitterFix
by BalazsJako
· 6 years ago
4d6e2f4
Merge pull request #31 from berdal84/CustomFont_And_GetTextImprovements
by BalazsJako
· 6 years ago
8b15b5c
Merge pull request #38 from marcel303/keyboardInputImprovements
by BalazsJako
· 6 years ago
25b5658
Fix for #30: Crash when SetString("")
by BalazsJako
· 6 years ago
2c95e15
Fix for #33: Backspace and Delete affect Breakpoints and ErrorMarkers differently.
by BalazsJako
· 6 years ago
510b208
- Added OSX behaviors for 'control' and 'alt'. On Macos the 'apple' (super) key is used for copy-pasting, and 'alt' is mapped to 'control' (option doesn't work for some reason, perhaps because it activates Macos' menus?).
by Marcel Smit
· 6 years ago
462f576
Improved line handling. Don't allow erasing the last line (this was implicitly already disallowed), and ensure there's always one line or more. Removed code paths where 'fixes' were necessary due to this behavior not being guaranteed.
by Marcel Smit
· 6 years ago
cf1bedf
Fix for assert/crash on SetText with empty string. Always just add the first line.
by Marcel Smit
· 6 years ago
602c34c
Always show horizontal scrollbar to avoid window client size from constantly changing, confusing the vertical scrolling and causing lots of jitter as the scroll location jumps around.
by Marcel Smit
· 6 years ago
0db50a2
Fixed misaligned tabs when tabs are after regular text.
by berdal84
· 6 years ago
448658f
Better line number draw.
by Unknown
· 6 years ago
9cdd9aa
Fix for Linux (pressing Enter was not adding \n char)
by Unknown
· 6 years ago
5a6bd81
Added comments to easily read code in TextEditor::Render()
by Unknown
· 6 years ago
49d61b5
Includes changes (relative to imgui)
by Unknown
· 6 years ago
c66619d
Useless constant removed cTextStart (in column) is now a member mTextStart (in pixels)
by Unknown
· 6 years ago
6d45bda
Added TextEditor::GetCurrentLineText() method.
by Unknown
· 6 years ago
2224f32
Handling for non fixed-sized Fonts.
by Unknown
· 6 years ago
4a166db
Added TextEditor::IsCursorpositionChanged() method.
by Unknown
· 6 years ago
bf37af9
Comilation warning fixed by removing hard coded variable.
by Unknown
· 6 years ago
0028722
imgui.h include changed to work with Nodable config.
by Unknown
· 6 years ago
1fbba2f
FIX: (again) enable build with c++11 #9
by BalazsJako
· 6 years ago
fc8522c
FIX: Triple left-click should select whole line. #25
by BalazsJako
· 6 years ago
c628b8a
FIX: Regex escape. #23
by BalazsJako
· 6 years ago
47e564b
FIX: enable build with c++11 #9
by BalazsJako
· 6 years ago
9aeb266
Fix for cursor position wraparound when moving right. Some warnings were fixed.
by BalazsJako
· 7 years ago
88817d6
Update README.md
by BalazsJako
· 7 years ago
6c69c30
(Potential) fix for #11. GCC warning.
by BalazsJako
· 7 years ago
1c93fa1
Fix for #14: Global font scale was not taken into account.
by BalazsJako
· 7 years ago
e5d1881
Fix for #19: clang warnings.
by BalazsJako
· 7 years ago
0519208
Fix for #21: SanitizeCoordinates not properly calculates the column if the coordinates point after the end of text.
by BalazsJako
· 7 years ago
fcc981d
Added IsTextChanged() bool function: returns true if the text was changed in any way within the editor. The editor will keep reporting the same value until the next call to Render().
by BalazsJako
· 7 years ago
f49aa9a
Merge pull request #7 from onqtam/patch-1
by BalazsJako
· 7 years ago
b23fb4a
Fix for WantCaptureKeyboard/TextInput/Mouse.
by BalazsJako
· 7 years ago
1967737
Fixed error marker scrolling issue.
by BalazsJako
· 7 years ago
c7dbee5
Added Ctrl-A: SelectAll
by BalazsJako
· 7 years ago
d1038b9
including <cmath> to fix gcc compile errors
by Viktor Kirilov
· 7 years ago
2a20341
Insert/overwrite mode fix.
by BalazsJako
· 7 years ago
a619e66
Update README.md
by BalazsJako
· 7 years ago
875e8a5
Fixed an undo/redo crash in BackSpace().
by BalazsJako
· 7 years ago
b13ccbf
Eliminated some warnings.
by BalazsJako
· 7 years ago
78e4b77
Update README.md
by BalazsJako
· 7 years ago
cd34eef
Made palettes work properly. You can switch between palettes and define your own.
by BalazsJako
· 7 years ago
dabbf93
Added reference to the demo project repo.
by BalazsJako
· 7 years ago
f0f2bdd
Source tree reorganization.
by BalazsJako
· 7 years ago
a357a57
Some code fancy/cleanup.
by BalazsJako
· 7 years ago
9c4eb96
Added read-only mode: it will prevent any modification of the text through user input (keyboard or mouse). It does not affect modification programmatically.
by BalazsJako
· 7 years ago
145fea1
Updated demo code to better showcase identifier declarations. Updated README.md.
by BalazsJako
· 7 years ago
aaaef34
A few fixes:
by BalazsJako
· 7 years ago
bf7869d
GetText() fix: the function appended an extra newline at the end of the file.
by BalazsJako
· 7 years ago
98a2bb1
New feature: tooltip on identifiers: you can associate description text for your identifiers.
by BalazsJako
· 7 years ago
2b5cc71
Error marker support is working now. Breakpoint support WIP.
by BalazsJako
· 7 years ago
7716ff1
Update README.md
by BalazsJako
· 7 years ago
cec38ec
Update README.md
by BalazsJako
· 7 years ago
6707d29
Code cleanup.
by BalazsJako
· 7 years ago
e620500
Updated example: added preprocessor and normal identifier samples.
by BalazsJako
· 7 years ago
2d973ee
Update README.md
by BalazsJako
· 7 years ago
3faf13c
Added screenshot image.
by BalazsJako
· 7 years ago
10a72a4
Update README.md
by BalazsJako
· 7 years ago
ccb4c09
Initial commit. Sources were added.
by BalazsJako
· 7 years ago
33b4f5a
Initial commit
by BalazsJako
· 7 years ago