Riccardo Mottola
ac3fad4b6f
fix some NSLogs
2023-01-13 19:36:29 +01:00
Riccardo Mottola
f5bdb40882
fix redundant format parameters
2023-01-13 19:28:07 +01:00
Riccardo Mottola
7ce2cd367a
minor casts
2023-01-13 18:23:17 +01:00
Riccardo Mottola
fdebc6367f
Reduce scope of _extScrollView _intScrollView from ivar to local variables, release after setting to content view and fix double-release of _intScrollView.
2023-01-12 23:33:25 +01:00
Riccardo
7f100b4ecd
Merge pull request #31 from gnustep/DebuggerRefactor
...
fix label sizes in application inspector
2022-01-11 00:08:22 +01:00
Riccardo Mottola
cc48c443fa
fix label sizes in applicatoin inspector
2022-01-11 00:06:24 +01:00
Riccardo Mottola
5244eb1037
minor fix for helpfile nil check
2022-01-10 18:56:01 +01:00
Riccardo Mottola
7e64e50cda
remove some debug logs
2021-12-13 23:49:56 +01:00
Riccardo Mottola
2c1c01f807
put timer delays in constants; run highlighting on a timer too
2021-12-01 01:37:45 +01:00
Riccardo Mottola
52539893eb
Merge branch 'LineStatus'
2021-11-30 23:37:13 +01:00
Riccardo Mottola
522edc8cf6
Use a timer also for line calculation and status update
2021-11-30 23:26:02 +01:00
Sergei Golovin
d63d77b98e
* fixed a memory leak
...
* Modules/Editors/ProjectCenter/PCEditor.m:
- replaced RETAIN() with ASSIGN() to avoid memory leaking;
2021-11-29 12:20:33 +04:00
Sergei Golovin
377359a92f
* fixed a unbalanced retain/release ivar
...
* Modules/Editors/ProjectCenter/PCEditor.m:
- changed the -[openFileAtPath:editorManager:editable:] to retain
the ivar 'textColor'... to balance its retain/release count;
2021-11-29 07:59:31 +04:00
Riccardo Mottola
cf1b7a3215
merge from master
2021-11-29 01:40:58 +01:00
Riccardo
008b192d99
Merge branch 'master' into ImproveHighlighting
2021-11-28 23:59:25 +01:00
Riccardo Mottola
c0f24a756f
cleanup some debug logs
2021-11-28 23:40:43 +01:00
Riccardo Mottola
0b8ae1f554
manual cherry-pick of event cleanup
2021-11-26 12:30:05 +01:00
Riccardo Mottola
4216c13cda
Do not send double computeNewParenthesisNesting: on key pressed.
...
Furthermore, use a timer so that in case of rapid re-computing it gets invalidated before and only calculated at the last event.
2021-11-26 02:20:40 +01:00
Riccardo Mottola
01a3a61b2e
do not change font on highlight, just the background: thus storing the old font attributes becomes needless
2021-11-23 01:22:54 +01:00
Riccardo Mottola
a0856faf21
remane textBackground to textBackgroundColor and use that for restoring highlit characters, without resding/storing such attribute
2021-11-23 01:09:50 +01:00
Riccardo Mottola
1749847eac
minor optimizations
2021-11-23 00:42:13 +01:00
Riccardo Mottola
8ab1b66eb5
fix spelling error in ivar
2021-10-28 01:40:01 +02:00
Riccardo Mottola
d6a2ce3650
remove foreground color, we do not change it when highlighting
2021-10-28 01:36:39 +02:00
Riccardo Mottola
60db8c598f
refactor some of the character highlighting, trying to rely only on the start-end pair of locations without old extra variables
2021-10-21 23:36:13 +02:00
Riccardo Mottola
ae35ca4c10
Remove insertText and handle keys through appropriate methods (inserTab, cancelOperation)Remove insertText and handle keys through appropriate methods (inserTab, cancelOperation)
2021-10-19 00:17:03 +02:00
Riccardo Mottola
61eff93341
fix status lin in internal view
2021-09-22 00:34:36 +02:00
Riccardo Mottola
5b988495cc
fix external view
2021-09-21 23:40:21 +02:00
Riccardo Mottola
aaaea5965b
update the line status
2021-09-17 01:25:58 +02:00
Riccardo
07c911b995
Merge pull request #26 from gnustep/master
...
keep branch up-to-date
2021-09-17 01:18:43 +02:00
Riccardo Mottola
aff171ceff
instead of using getLineStart which returns a character after scanning lines, we directly scan lines and count the newlines, so the string is needs to be scanned once only to know hoe many newlines. Some IMP caching to improve this ineffcient o(n) at every cursor movement
2021-09-17 00:53:40 +02:00
Riccardo Mottola
bae62a963b
actually store the preference color in textColor ivar
2021-09-16 00:52:15 +02:00
Riccardo Mottola
b701d1a40b
also keep ligatures off when reverting
2021-08-19 14:57:24 +02:00
Riccardo Mottola
b3fa5f1949
turn off ligatures in the code editor
2021-08-19 14:50:58 +02:00
Gregory Casamento
af4e9fffe4
Merge pull request #19 from gnustep/debugger_editor
2021-08-09 19:23:57 -04:00
Gregory John Casamento
6c59f53df4
Changes to use _containerView as main internal view.
2021-08-03 19:45:30 -04:00
Riccardo Mottola
7504a154e1
status bar, still incomplete resizes badly / does not show internally
2021-08-03 19:45:30 -04:00
Riccardo Mottola
18136e7678
get selected range of selection
2021-08-04 01:42:08 +02:00
Riccardo Mottola
f9d8e56a2e
actually register NSTextViewDidChangeSelectionNotification
2021-08-04 00:53:34 +02:00
Gregory John Casamento
736093b0c1
Fix centering issue
2021-08-03 18:48:00 -04:00
Gregory John Casamento
87988f435c
Make update of file appear in the in-window editor instead of external editors
2021-08-03 17:16:26 -04:00
Gregory John Casamento
56d789e232
Add capability to debugger to focus on file and line which has been stopped on
2021-08-01 17:01:58 -04:00
Riccardo Mottola
dd9a827b30
cleanup and add a debug log
2021-07-28 01:22:08 +02:00
Riccardo Mottola
56f5d087b9
Do not release window when clesed, since now we re-use it on re-show
2021-07-21 23:00:28 +02:00
Riccardo Mottola
7dedd5871f
log gotten PID
2021-07-19 02:03:34 +02:00
Riccardo Mottola
7c30ee1f38
camel case
2021-07-19 01:47:32 +02:00
Riccardo Mottola
b7cfa30f20
increase parsing of stream and async records, also log LogStreamOutput as aid
2021-07-19 01:46:01 +02:00
Riccardo Mottola
f68e83ad6f
Don't send keystrokes directly to gdb, but accumulate a line until return and send, allows to handle backspaces.
2021-07-16 19:49:23 +02:00
Riccardo Mottola
c567c110a3
move special del handling into typeString away from keyDown
2021-07-15 01:16:15 +02:00
Riccardo Mottola
725da9e9c8
move debugger arguments down into the wrapper, since they are GDB specific. Interpret now the Path as the executable path, requiring the debugger path to be set earlier in the wrapper setup
2021-07-15 00:03:48 +02:00
Riccardo Mottola
08cd658b6d
cleanup
2021-07-13 22:31:02 +02:00