Opened 3 years ago
Closed 3 years ago
#297 closed defect (duplicate)
Settings Tools > Editor > Syntax Color brings a debugger with a #ObsoleteMethodCallWarning message
Reported by: | Patrik Svestka | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | default | Keywords: | |
Cc: | Also affects CVS HEAD (eXept version): | no |
Description
I wanted to adjust the Syntax Color settings and I got an error:
[ObsoleteMethodCallWarning]: use #formatMethodSource:in:using: - please fix this now! in process SettingsDialog [604]
The complete walkback is:
[ObsoleteMethodCallWarning]: use #formatMethodSource:in:using: - please fix this now! in process SettingsDialog [604] SyntaxHighlighter class(Object) >> obsoleteMethodWarning:from: 'use #formatMethodSource:in:using:' Context(SyntaxHighlighter class(AbstractSyntaxHighlighter class) >> formatMethod:in:using: [6]) {3743744} [46] SyntaxHighlighter class(Object) >> obsoleteMethodWarning: 'use #formatMethodSource:in:using:' {3747840} [10] SyntaxHighlighter class(AbstractSyntaxHighlighter class) >> formatMethod:in:using: 'methodSelector:methodArg "method comment: s...owCR:''some string'' , #someSymbol. ^ self. ' DummyClass UserPreferences(#confirmRefactorings->false #use...ue #'formatter.maxLengthForSingleLineBlocks'->20) {3792896} [6] AbstractSettingsApplication::SyntaxColorSettingsAppl >> recolor {3796992} [15] AbstractSettingsApplication::SyntaxColorSettingsAppl >> syntaxColorChanged {3801088} [10] AbstractSettingsApplication::SyntaxColorSettingsAppl >> update:with:from: #value (Color black) ValueHolder((Color black)) {3805184} [7] [] in Object>>changed:with: >> value: an AbstractSettingsApplication::SyntaxColorSettingsAppl {3809280} [7] ValueHolder(Model) >> dependentsDo: [] in Object>>changed:with: {3813376} [15] ValueHolder(Object) >> changed:with: #value (Color black) {3817472} [6] ValueHolder(ValueModel) >> value: (Color black) {3821568} [15] AbstractSettingsApplication::SyntaxColorSettingsAppl >> syntaxElementSelectionChanged {3825664} [4] AbstractSettingsApplication::SyntaxColorSettingsAppl >> update:with:from: #value 'Argument Identifier' ValueHolder('Argument Identifier') {3829760} [3] [] in Object>>changed:with: >> value: an AbstractSettingsApplication::SyntaxColorSettingsAppl {3833856} [7] ValueHolder(Model) >> dependentsDo: [] in Object>>changed:with: {3837952} [15] ValueHolder(Object) >> changed:with: #value 'Argument Identifier' {3842048} [6] ValueHolder(ValueModel) >> value: 'Argument Identifier' {3846144} [15] AbstractSettingsApplication::SyntaxColorSettingsAppl >> basicReadSettings {3850240} [23] AbstractSettingsApplication::SyntaxColorSettingsAppl(AbstractSettingsApplication) >> readSettings {3854336} [2] [] in SettingsDialog>>selectionChanged >> value {3858432} [81] [] in WindowGroup>>withCursor:do: >> value {3862528} [32] Block >> ensure: [] in WindowGroup>>withCursor:do: {3866624} [12] WindowGroup >> withCursor:do: Cursor(wait) [] in SettingsDialog>>selectionChanged {3870720} [37] ApplicationWindow(TopView) >> withCursor:do: Cursor(wait) [] in SettingsDialog>>selectionChanged {3874816} [6] SettingsDialog(ApplicationModel) >> withCursor:do: Cursor(wait) [] in SettingsDialog>>selectionChanged {3878912} [9] SettingsDialog(ApplicationModel) >> withWaitCursorDo: [] in SettingsDialog>>selectionChanged {3883008} [5] SettingsDialog >> selectionChanged {3887104} [79] SettingsDialog >> update:with:from: #value a SettingsDialog::HierarchicalApplicationList::ApplicationItem [Syntax Color] ValueHolder(a SettingsDialog::HierarchicalApplicationList::ApplicationItem [Syntax Color]) {3891200} [6] [] in Object>>changed:with: >> value: a SettingsDialog {3895296} [7] ValueHolder(Model) >> dependentsDo: [] in Object>>changed:with: {3899392} [15] ValueHolder(Object) >> changed:with: #value a SettingsDialog::HierarchicalApplicationList::ApplicationItem [Syntax Color] {3903488} [6] ValueHolder(ValueModel) >> value: a SettingsDialog::HierarchicalApplicationList::ApplicationItem [Syntax Color] {3907584} [15] ValueHolder(Object) >> perform:with: #value: a SettingsDialog::HierarchicalApplicationList::ApplicationItem [Syntax Color] {3911680} [31] ValueHolder(Object) >> perform:withOptionalArgument:and: #value: a SettingsDialog::HierarchicalApplicationList::ApplicationItem [Syntax Color] a HierarchicalListView {3915776} [13] HierarchicalListView(View) >> sendChangeMessage:with: #value: a SettingsDialog::HierarchicalApplicationList::ApplicationItem [Syntax Color] {3919872} [17] HierarchicalListView(SelectionInListModelView) >> selectionChanged {3923968} [20] HierarchicalListView(SelectionInListModelView) >> selection: 10 {3928064} [8] HierarchicalListView(SelectionInListModelView) >> keyPress:x:y: #CursorDown -1 -1 {3932160} [145] HierarchicalListView >> keyPress:x:y: #CursorDown -1 -1 {3936256} [14] HierarchicalListView(Object) >> perform:withArguments: #keyPress:x:y: #(#CursorDown -1 -1) {3940352} [170] HierarchicalListView(DisplaySurface) >> dispatchEvent:type:arguments:withFocusOn:delegate: WindowEvent::KeyPressEvent(#keyPress:x:y: view: ApplicationWindow args: #(#CursorDown -1 -1)) #keyPress:x:y: #(#CursorDown -1 -1) nil true {3944448} [238] HierarchicalListView(DisplaySurface) >> dispatchEvent:withFocusOn:delegate: WindowEvent::KeyPressEvent(#keyPress:x:y: view: ApplicationWindow args: #(#CursorDown -1 -1)) nil true {3948544} [5] ApplicationWindow(DisplaySurface) >> dispatchEvent:type:arguments:withFocusOn:delegate: WindowEvent::KeyPressEvent(#keyPress:x:y: view: ApplicationWindow args: #(#CursorDown 73 203)) #keyPress:x:y: #(#CursorDown 73 203) a HierarchicalListView true {3952640} [140] ApplicationWindow(DisplaySurface) >> dispatchEvent:withFocusOn:delegate: WindowEvent::KeyPressEvent(#keyPress:x:y: view: ApplicationWindow args: #(#CursorDown 73 203)) a HierarchicalListView true {3956736} [5] [] in WindowGroup>>processEventsWithModalGroup: >> value {3960832} [221] Block >> on:do:ensure: LastEventQuery (private in WindowGroup) [] in WindowGroup>>processEventsWithModalGroup: [] in WindowGroup>>processEventsWithModalGroup: {3964928} [15] WindowGroup >> processEventsWithModalGroup: nil {3969024} [232] [] in WindowGroup>>eventLoopWhile:onLeave: >> value {3973120} [152] SignalSet >> handle:do: [] in WindowGroup>>eventLoopWhile:onLeave: [] in WindowGroup>>eventLoopWhile:onLeave: {3977216} [14] [] in WindowGroup>>eventLoopWhile:onLeave: >> value {3981312} [81] Block >> ensure: [] in WindowGroup>>startupWith: (optimized) {3985408} [12] [] in WindowGroup>>eventLoopWhile:onLeave: >> value {3989504} [184] WindowGroup::WindowGroupQuery class(Notification class) >> answer:do: WindowGroup(SettingsDialog) [] in WindowGroup>>eventLoopWhile:onLeave: {3993600} [10] [] in WindowGroup::WindowGroupQuery class>>answer:do: >> value {3997696} [4] Block >> ensure: [] in WindowGroup::WindowGroupQuery class>>answer:do: (optimized) {4001792} [12] WindowGroup::WindowGroupQuery class >> answer:do: WindowGroup(SettingsDialog) [] in WindowGroup>>eventLoopWhile:onLeave: {4005888} [5] WindowGroup >> eventLoopWhile:onLeave: [] in WindowGroup>>startupWith: (optimized) [] in WindowGroup>>startupWith: (optimized) {4009984} [25] [] in WindowGroup>>startupWith: >> value {4014080} [26] Block >> ensure: [] in WindowGroup>>startupWith: {4018176} [12] [] in WindowGroup>>startupWith: >> value {4022272} [27] ExceptionHandlerSet >> handleDo: [] in WindowGroup>>startupWith: {4026368} [14] [] in Process>>start >> value {4030464} [34] Block >> on:do:ensure: SignalSet(RestartProcessRequest AbortAllOperationRequest TerminateProcessRequest) [] in Process>>start [] in Process>>start {4034560} [15] Process >> start {4038656} [35] UndefinedObject >> nil {4042752} [0]
Note: See
TracTickets for help on using
tickets.
Duplicate of #273