Skip to content

Commit

Permalink
Merge pull request #2908 from HelioGuilherme66/split_long_cols
Browse files Browse the repository at this point in the history
Split long cols
  • Loading branch information
HelioGuilherme66 authored Nov 1, 2024
2 parents cb85506 + e72b81b commit ce812a9
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 22 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ and this project adheres to http://semver.org/spec/v2.0.0.html[Semantic Versioni
- Changed the workflow for the development versions of RIDE. Now, development versions are taken from the ``develop`` branch, and the ``master`` will stay with released version.
- Changed the way ``configobj`` code is imported. Now is a submodule obtained from https://github.com/DiffSK/configobj.

=== Fixed

- Fixed long arguments in fixtures appearing splitted in Grid Editor. Still, arguments info will not be correct at calling step.

== https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.1.rst[2.1] - 2024-10-13

=== Added
Expand Down
28 changes: 15 additions & 13 deletions src/robotide/application/CHANGELOG.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Changed the workflow for the development versions of RIDE. Now, development versions are taken from the ``develop`` branch, and the ``master`` will stay with released version.
</li><li class="listitem">
Changed the way ``configobj`` code is imported. Now is a submodule obtained from <a class="ulink" href="https://github.com/DiffSK/configobj" target="_top">https://github.com/DiffSK/configobj</a>.
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed"></a>1.2. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed long arguments in fixtures appearing splitted in Grid Editor. Still, arguments info will not be correct at calling step.
</li></ul></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_ulink_url_https_github_com_robotframework_ride_blob_master_doc_releasenotes_ride_2_1_rst_2_1_ulink_2024_10_13"></a>2. <a class="ulink" href="https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.1.rst" target="_top">2.1</a> - 2024-10-13</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_added"></a>2.1. Added</h3></div></div></div><pre class="literallayout"> (2.1 - 2024-10-13)
- Added a setting for a specific Browser by editing the settings.cfg file. Add the string parameter
``browser`` in the section ``[Plugins][[Test Runner]]``.
Expand Down Expand Up @@ -90,7 +92,7 @@
- Changed alias marker on library imports to consider variable ``ROBOT_VERSION``. If version is lower than 6.0, uses ``'WITH NAME'``, otherwise will use ``'AS'``
(2.0.3 - 2023-04-16)
- Allow to do auto-suggestions of keywords in Grid Editor without a shortcut, if you want to enable or disable this feature you can config in `Tools-&gt; Preferences -&gt; Grid Editor -&gt; Enable auto suggestions`
- Made ``\\n`` visible when editing cells in Grid Editor (problematic in Windows)</pre></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed"></a>2.3. Fixed</h3></div></div></div><pre class="literallayout"> (2.1 - 2024-10-13)
- Made ``\\n`` visible when editing cells in Grid Editor (problematic in Windows)</pre></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_2"></a>2.3. Fixed</h3></div></div></div><pre class="literallayout"> (2.1 - 2024-10-13)
- Fixed recognition of variables imported from YAML, JSON and Python files.
(2.1b1 - 2024-09-21)
- Fixed validation of multiple arguments with default values in Grid Editor.
Expand Down Expand Up @@ -149,7 +151,7 @@
The color of the caret is the same as <code class="literal">setting</code> and will be adjusted for better contrast with the background.
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_changed_3"></a>3.2. Changed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Allow to do auto-suggestions of keywords in Text Editor without a shortcut, if you want to enable or disable this feature you can config in <code class="literal">Tools -&gt; Preferences -&gt; Text Editor -&gt; Enable auto suggestions</code>.
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_2"></a>3.3. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_3"></a>3.3. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed validation of multiple arguments with default values in Grid Editor.
</li><li class="listitem">
Fixed on Text Editor when Saving the selection of tests to run in Test Suites (Tree) is cleared.
Expand Down Expand Up @@ -200,7 +202,7 @@
Tooltips for the fields are always shown in English.
</li><li class="listitem">
Colorization for language configured files is working in Text Editor.
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_3"></a>4.2. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_4"></a>4.2. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed multiline variables in Variables section. In Text Editor they are separated by … continuation marker.
In Grid Editor use | (pipe) to separate lines.
</li><li class="listitem">
Expand Down Expand Up @@ -246,7 +248,7 @@
Added variables creation shortcuts (``Ctrl-1,2,5``) to fields Arguments in Grid Editor
</li><li class="listitem">
Added support for JSON variables, by using the installed Robot Framework import method
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_4"></a>5.2. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_5"></a>5.2. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed escaped spaces showing in Text Editor on commented cells
</li><li class="listitem">
Fixed resource files dissapearing from Project tree on Windows
Expand Down Expand Up @@ -287,7 +289,7 @@
</li><li class="listitem">
Added sincronization with Project Explorer to navigate to selected item, Test Case, Keyword, Variable, in Text Editor
Note: This feature is working fine in Fedora 38, but not on Windows and macOS.
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_5"></a>6.2. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_6"></a>6.2. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed non syncronized expanding/collapse of Settings panel in Grid Editor, on Linux
</li><li class="listitem">
Fixed not working the deletion of cells commented with ``\# `` in Grid Editor with ``Ctrl-Shift-D``
Expand Down Expand Up @@ -321,13 +323,13 @@
Added the note, <span class="emphasis"><em>Colors will be active after next RIDE restart.</em></span> to the Preferences of Test Runner.
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_changed_8"></a>8.2. Changed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Changed alias marker on library imports to consider variable ``ROBOT_VERSION``. If version is lower than 6.0, uses ``<span class="emphasis"><em>WITH NAME</em></span>``, otherwise will use ``<span class="emphasis"><em>AS</em></span>``
</li></ul></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_fixed_6"></a>9. Fixed</h2></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
</li></ul></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_fixed_7"></a>9. Fixed</h2></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed auto-indent on block commands in Text Editor
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_ulink_url_https_github_com_robotframework_ride_blob_master_doc_releasenotes_ride_2_0_3_rst_2_0_3_ulink_2023_04_16"></a>10. <a class="ulink" href="https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0.3.rst" target="_top">2.0.3</a> - 2023-04-16</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_changed_9"></a>10.1. Changed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Allow to do auto-suggestions of keywords in Grid Editor without a shortcut, if you want to enable or disable this feature you can config in <code class="literal">Tools-&gt; Preferences -&gt; Grid Editor -&gt; Enable auto suggestions</code>
</li><li class="listitem">
Made ``\\n`` visible when editing cells in Grid Editor (problematic in Windows)
</li></ul></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_fixed_7"></a>11. Fixed</h2></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
</li></ul></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_fixed_8"></a>11. Fixed</h2></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed missing auto-enclosing when in Cell Editor in Linux
</li><li class="listitem">
Fixed RIDE will crash when using third party input method in Mac OS
Expand Down Expand Up @@ -429,7 +431,7 @@
- Changed icon background to white
- Made Project Tree and File Explorer panels, Plugins.
- wx.NewId() to wx.NewIdRef()
- Separated AppendText for Messages Log</pre></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_8"></a>12.4. Fixed</h3></div></div></div><pre class="literallayout"> (2.0rc1 - 2023-02-26)
- Separated AppendText for Messages Log</pre></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_9"></a>12.4. Fixed</h3></div></div></div><pre class="literallayout"> (2.0rc1 - 2023-02-26)
- Fixed blank Grid Editor at keywords with steps commented with ``\# ``, by using ``Ctrl-Shift-3 on Text Editor
(2.0b3 - 2023-01-15)
. Fixed low performance when opening large projects
Expand Down Expand Up @@ -511,7 +513,7 @@
Added move up and move down rows to Text Editor, by using ``Alt-Up`` and ``Alt-Down``
</li><li class="listitem">
Added insert and delete rows to Text Editor, by using ``Ctrl-I`` and ``Ctrl-D``
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_removed_4"></a>13.2. Removed</h3></div></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_changed_11"></a>13.3. Changed</h3></div></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_9"></a>13.4. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_removed_4"></a>13.2. Removed</h3></div></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_changed_11"></a>13.3. Changed</h3></div></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_10"></a>13.4. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed blank Grid Editor at keywords with steps commented with ``\# ``, by using ``Ctrl-Shift-3 on Text Editor
</li></ul></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_ulink_url_https_github_com_robotframework_ride_blob_master_doc_releasenotes_ride_2_0b3_rst_2_0b3_ulink_2023_01_15"></a>14. <a class="ulink" href="https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-2.0b3.rst" target="_top">2.0b3</a> - 2023-01-15</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_added_10"></a>14.1. Added</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Added swap row up, by using ``Ctrl-T``
Expand All @@ -528,7 +530,7 @@
This was causing not being possible to restore it, unless editing the settings.cfg file.
Other reason was to prevent user to closing it, after detaching the panel, and re-attaching,
which has a bug making the Tree not visible.
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_10"></a>14.4. Fixed</h3></div></div></div><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p class="simpara">
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_11"></a>14.4. Fixed</h3></div></div></div><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p class="simpara">
Fixed low performance when opening large projects
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed comment and uncomment in Grid Editor when cells contain more than one variables assignement
Expand Down Expand Up @@ -638,7 +640,7 @@
Changed Enter button in navigation mode to start editing cell, and to move to right cell when in edit mode
</li><li class="listitem">
Performance improvements for loading large test suites
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_11"></a>15.4. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_12"></a>15.4. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed missing menu icons on Linux (was working on Windows)
</li><li class="listitem">
Fixed removal of animation in Project tree when test run is interrupted
Expand Down Expand Up @@ -747,7 +749,7 @@
wx.NewId() to wx.NewIdRef()
</li><li class="listitem">
Separated AppendText for Messages Log
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_12"></a>16.4. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_13"></a>16.4. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
Fixed editing cells in Grid Editor on wxPython 4.1
</li><li class="listitem">
Fixed not saving file after deleting text in Text Editor
Expand Down Expand Up @@ -813,6 +815,6 @@
None
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_changed_15"></a>17.3. Changed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
None
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_13"></a>17.4. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="_fixed_14"></a>17.4. Fixed</h3></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
None
</li></ul></div></div></div></div></body></html>
7 changes: 5 additions & 2 deletions src/robotide/application/releasenotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def set_content(self, html_win, content):
<div class="document">
<p><a class="reference external" href="https://github.com/robotframework/RIDE/">RIDE (Robot Framework IDE)</a>
{VERSION} is a new release with important enhancements and bug fixes. The reference for valid arguments is
{VERSION} is a new release with some enhancements and bug fixes. The reference for valid arguments is
<a class="reference external" href="https://robotframework.org/">Robot Framework</a> installed version, which is at
this
moment 7.1.1. However, internal library code is originally based on version 3.1.2, but adapted for new versions.</p>
Expand All @@ -169,6 +169,9 @@ def set_content(self, html_win, content):
</ul>
<p><strong>New Features and Fixes Highlights</strong></p>
<ul class="simple">
<li>Fixed long arguments in fixtures appearing splitted in Grid Editor. Still, arguments info will not be correct at
calling step.Fixed long arguments in fixtures appearing splitted in Grid Editor.
Still, arguments info will not be correct at calling step./li>
<li>Fixed double action on Linux when pressing the DEL key</li>
</ul>
<!-- <p>We hope to implement or complete features and make fixes on next major version 2.1 (in mid Autumm of 2024).</p>
Expand Down Expand Up @@ -224,7 +227,7 @@ def set_content(self, html_win, content):
<pre class="literal-block">python -m robotide.postinstall -install</pre>
<p>or</p>
<pre class="literal-block">ride_postinstall.py -install</pre>
<p>RIDE {VERSION} was released on 27/October/2024.</p>
<p>RIDE {VERSION} was released on 1/November/2024.</p>
<!-- <br/>
<h3>May The Fourth Be With You!</h3>
<h3>Celebrate the bank holiday, 10th June, Day of Portugal, Portuguese Communities and Camões!!</h3>
Expand Down
6 changes: 3 additions & 3 deletions src/robotide/lib/robot/writer/formatters.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ def translate_header(header: str, language=None) -> str:
return header
tr_header = list(get_headers_for(language, header, lowercase=False))
if len(tr_header) > 1:
print(f"DEBUG: formatters.py translate_header header={header} language={language}"
f" before pop tr_header={tr_header}")
# print(f"DEBUG: formatters.py translate_header header={header} language={language}"
# f" before pop tr_header={tr_header}")
tr_header.pop(tr_header.index(header))
tr_header = tr_header[0]
print(f"DEBUG: formatters.py translate_header header={tr_header}")
# print(f"DEBUG: formatters.py translate_header header={tr_header}")
return tr_header


Expand Down
Loading

0 comments on commit ce812a9

Please sign in to comment.