Skip to content

New Crowdin updates #2768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Likewise, the current version of wxPython, is 4.2.1, but RIDE is known to work w

`pip install -U robotframework-ride`

(3.8 < python &lt;= 3.12) Install current development version (**2.1dev35**) with:
(3.8 < python &lt;= 3.12) Install current development version (**2.1dev38**) with:

`pip install -U https://github.com/robotframework/RIDE/archive/master.zip`

Expand Down
4 changes: 2 additions & 2 deletions src/robotide/application/releasenotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def set_content(self, html_win, content):
<li>This version supports Python 3.8 up to 3.12.</li>
<li>There are some changes, or known issues:<ul>
<li>❌ - Removed support for Python 3.6 and 3.7</li>
<li>✔ -Added actions on columns of Grid Editor: Double-Click or Right Mouse Click, allows to edit the column name for Data
<li>✔ - Added actions on columns of Grid Editor: Double-Click or Right Mouse Click, allows to edit the column name for Data
Driven or Templated; Left Mouse Click, selects the column cells.</li>
<li>✔ - Added command line option, <b>--settingspath</b>, to select a different configuration.</li>
<li>✔ - Added different settings file, according the actual Python executable, if not the original installed.</li>
Expand Down Expand Up @@ -293,7 +293,7 @@ def set_content(self, html_win, content):
<pre class="literal-block">
python -m robotide.postinstall -install
</pre>
<p>RIDE {VERSION} was released on 12/May/2024.</p>
<p>RIDE {VERSION} was released on 17/May/2024.</p>
<!-- <br/>
<h3>May The Fourth Be With You!</h3>
-->
Expand Down
2 changes: 1 addition & 1 deletion src/robotide/editor/contentassist.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from ..publish.messages import RideSettingsChanged


_PREFERRED_POPUP_SIZE = (400, 200)
_PREFERRED_POPUP_SIZE = (200, 400)
_AUTO_SUGGESTION_CFG_KEY = "enable auto suggestions"


Expand Down
1 change: 1 addition & 0 deletions src/robotide/editor/gridbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def _get_all_content(self):
def cell_under_cursor(self):
x, y = self.ScreenToClient(wx.GetMousePosition())
x -= self.RowLabelSize
y -= self.GetColLabelSize()
return self.XYToCell(*self.CalcUnscrolledPosition(x, y))

def select(self, row, column):
Expand Down
7 changes: 6 additions & 1 deletion src/robotide/editor/kweditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,14 +364,18 @@ def _col_label_right_click(self, event):
lpos = self.GetColLeft(event.Col)
whandle = self.GetGridColLabelWindow()
font_size=self.GetLabelFont().GetPixelSize().width + 4
edit = wx.TextCtrl(whandle, COL_HEADER_EDITOR, value, size=(max(4, len(value))*font_size, -1))
col_size = max(max(4, len(value))*font_size, self.GetColSize(event.Col))
edit = wx.TextCtrl(whandle, COL_HEADER_EDITOR, value, size=(col_size, -1),
style=wx.TE_PROCESS_ENTER | wx.TE_NOHIDESEL)
epos = edit.GetPosition()
edit.SetPosition((lpos, epos[1]))
edit.Bind(wx.EVT_KEY_DOWN, self.on_col_label_edit)
edit.Bind(wx.EVT_KEY_UP, self.on_col_label_edit)
edit.SetInsertionPointEnd()
edit.SelectAll()
edit.SetFocus()
self.col_label_element = (edit, event.Col)
self._marked_cell = (-1, -1)
# edit.Bind(wx.EVT_KILL_FOCUS, self.on_kill_focus)

def on_col_label_edit(self, event: wx.KeyEvent):
Expand All @@ -391,6 +395,7 @@ def on_col_label_edit(self, event: wx.KeyEvent):
self._controller.mark_dirty()
self._controller.notify_steps_changed()
wx.CallAfter(edit.Destroy)
return
event.Skip()

def on_label_left_click(self, event):
Expand Down
1 change: 1 addition & 0 deletions src/robotide/lib/robot/parsing/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ def set_doc_language(self):
language = ", ".join(self._language)
else:
language = self._language
language = language.replace('_', '-') # To ensure is as RF formta, cases pt-, zn-
if len(self._preamble) == 0:
self._preamble.append(f"Language: {language}\n\n")
# print(f"DEBUG: model.py set_doc_language EMPTY PREAMBLE self._preamble={self._preamble}")
Expand Down
Loading
Loading