bugGNU Octave - Bugs: bug #50663, Text Editor Tab not...

 
 

bug #50663: Text Editor Tab not showing/opening within Octave GUI

Submitted by:  Rabindra Jena <jenarabi>
Submitted on:  Tue 28 Mar 2017 11:21:53 AM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: DuplicateAssigned to: None
Originator Name: Rabindra JenaOpen/Closed: Closed
Release: 4.2.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 29 Mar 2017 01:48:07 PM UTC, comment #3:

Dear Team,

Thanks for your reply and it helps me to recompile the octave from source code.

QScintilla library was already installed.

Work Arround as follows:
a) Installed fltk & fltk-devel

b) Recompiled the octave source code
Error resolved by changing the cc files after commented undefined symbol/function as setMarginType not supported for class octave_qscintilla
libgui/src/m-editor/file-editor-tab.cc:156
libgui/src/m-editor/file-editor-tab.cc:183

Now Text Editor is working for me within the Octave UI.

octave-4.2.1/libgui/src/m-editor # diff file-editor-tab.cc file-editor-tab.org-cc
156c156
< // _edit_area->setMarginType (1, QsciScintilla::SymbolMargin);
---

> _edit_area->setMarginType (1, QsciScintilla::SymbolMargin);

183c183
< // _edit_area->setMarginType (2, QsciScintilla::TextMargin);
---

> _edit_area->setMarginType (2, QsciScintilla::TextMargin);

2238c2238
< // _edit_area->setMarginType (3, QsciScintilla::SymbolMargin);
---

> _edit_area->setMarginType (3, QsciScintilla::SymbolMargin);

Rabindra Jena <jenarabi>
Tue 28 Mar 2017 07:01:53 PM UTC, comment #2:

Marking as a duplicate of bug #47360, this tends to come up frequently with self-compiled Octave installs. Please be sure to check the configuration summary for what features have been disabled when building Octave yourself. The GUI has a preferences option to use an external editor, you should be able to switch that feature on and use emacs.

There is an open bug #39179, an enhancement to either print a warning or automatically fall back to the external editor if Octave was built without Qscintilla support.

Mike Miller <mtmiller>
Project Administrator
Tue 28 Mar 2017 04:36:06 PM UTC, comment #1:

Hi,

It looks like the GUI editor has been disabled, probably because the necessary QScintilla library was not found at build time.
Did you check the config.log file?

Pantxo Diribarne <pantxo>
Project Member
Tue 28 Mar 2017 11:21:53 AM UTC, original submission:

I have installed Octave-4.2.1 on my SLES-11.3 Server.

Kindly suggest for the Issue on default text editor (Emacs) when I am trying to edit any .m file within the Octave GUI,

the command e.g (>>edit test.m) no action or output showing not able to see the Text Editor Tab or in external GUI.

Octave GUI: Window--> Show Editor (((Not Working))

While I am able to edit the files with emacs UI using the Octave option $octave --no-gui

then

octave:1> edit new.m
octave:2> (The Emacs text editor with UI is openning the existing file)

Rabindra Jena <jenarabi>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #40178:  Editor-not-working-with-gui-option-Octave.png added by jenarabi (134KiB - image/png - Attached Screen Shotspls check)
file #40179:  Editor-working-no-gui-option-Octave.png added by jenarabi (46KiB - image/png - Attached Screen Shotspls check)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by jenarabi (Submitted the item)
  • -unavailable- added by jenarabi (Need Help on Text Editor)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 28 Mar 2017 07:01:53 PM UTCmtmillerStatusWorks For Me=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #47360
    Tue 28 Mar 2017 04:36:06 PM UTCpantxoStatusNone=>Works For Me
    Tue 28 Mar 2017 11:21:53 AM UTCjenarabiAttached File-=>Added Editor-not-working-with-gui-option-Octave.png, #40178
      Attached File-=>Added Editor-working-no-gui-option-Octave.png, #40179
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1