Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
9a393710
Commit
9a393710
authored
May 17, 2022
by
Eric Oulashin
Browse files
Fixes for searching & related error reporting
parent
ff3603d6
Pipeline
#3042
passed with stage
in 10 minutes and 6 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
10 deletions
+18
-10
xtrn/DDAreaChoosers/DDFileAreaChooser.js
xtrn/DDAreaChoosers/DDFileAreaChooser.js
+8
-5
xtrn/DDAreaChoosers/DDMsgAreaChooser.js
xtrn/DDAreaChoosers/DDMsgAreaChooser.js
+6
-3
xtrn/DDAreaChoosers/readme.txt
xtrn/DDAreaChoosers/readme.txt
+2
-2
xtrn/DDAreaChoosers/revision_history.txt
xtrn/DDAreaChoosers/revision_history.txt
+2
-0
No files found.
xtrn/DDAreaChoosers/DDFileAreaChooser.js
View file @
9a393710
...
...
@@ -20,6 +20,9 @@
* 2022-03-18 Eric Oulashin Version 1.23
* For directory collapsing, if there's only one subdirectory,
* then it won't be collapsed.
* 2022-05-17 Eric Oulashin Version 1.24
* Fixes for searching and search error reporting (probably
* due to mistaken copy & paste in an earlier commit)
*/
/* Command-line arguments:
...
...
@@ -57,8 +60,8 @@ if (system.version_num < 31400)
}
// Version & date variables
var
DD_FILE_AREA_CHOOSER_VERSION
=
"
1.2
3
"
;
var
DD_FILE_AREA_CHOOSER_VER_DATE
=
"
2022-0
3
-1
8
"
;
var
DD_FILE_AREA_CHOOSER_VERSION
=
"
1.2
4
"
;
var
DD_FILE_AREA_CHOOSER_VER_DATE
=
"
2022-0
5
-1
7
"
;
// Keyboard input key codes
var
CTRL_H
=
"
\
x08
"
;
...
...
@@ -1233,7 +1236,7 @@ function DDFileAreaChooser_SelectFileArea_Lightbar(pLevel, pLibIdx, pDirIdx)
}
else
{
this
.
WriteLightbarKeyHelpErrorMsg
(
"
There is no previous search
"
,
REFRESH_MSG_AREA_CHG_LIGHTBAR_HELP_LINE
);
this
.
WriteLightbarKeyHelpErrorMsg
(
"
There is no previous search
"
,
true
);
drawMenu
=
false
;
this
.
WriteKeyHelpLine
();
}
...
...
@@ -2664,8 +2667,8 @@ function findFileLibIdxFromText(pSearchText, pStartItemIdx)
var
searchTextUpper
=
pSearchText
.
toUpperCase
();
for
(
var
i
=
startIdx
;
i
<
file_area
.
lib_list
.
length
;
++
i
)
{
if
((
file_area
.
lib_list
.
length
[
i
].
name
.
toUpperCase
().
indexOf
(
searchTextUpper
)
>
-
1
)
||
(
file_area
.
lib_list
.
length
[
i
].
description
.
toUpperCase
().
indexOf
(
searchTextUpper
)
>
-
1
))
if
((
file_area
.
lib_list
[
i
].
name
.
toUpperCase
().
indexOf
(
searchTextUpper
)
>
-
1
)
||
(
file_area
.
lib_list
[
i
].
description
.
toUpperCase
().
indexOf
(
searchTextUpper
)
>
-
1
))
{
libIdx
=
i
;
break
;
...
...
xtrn/DDAreaChoosers/DDMsgAreaChooser.js
View file @
9a393710
...
...
@@ -26,6 +26,9 @@
* Also fixed an issue: Using Q to quit out of the 2nd level
* (sub-board/sub-group) for lightbar mode no longer quits
* out of the chooser altogether.
* 2022-05-17 Eric Oulashin Version 1.24
* Fix for search error reporting (probably due to
* mistaken copy & paste in an earlier commit)
*
*/
...
...
@@ -68,8 +71,8 @@ if (system.version_num < 31400)
}
// Version & date variables
var
DD_MSG_AREA_CHOOSER_VERSION
=
"
1.2
3
"
;
var
DD_MSG_AREA_CHOOSER_VER_DATE
=
"
2022-0
3
-1
8
"
;
var
DD_MSG_AREA_CHOOSER_VERSION
=
"
1.2
4
"
;
var
DD_MSG_AREA_CHOOSER_VER_DATE
=
"
2022-0
5
-1
7
"
;
// Keyboard input key codes
var
CTRL_H
=
"
\
x08
"
;
...
...
@@ -728,7 +731,7 @@ function DDMsgAreaChooser_SelectMsgArea_Lightbar(pLevel, pGrpIdx, pSubIdx)
}
else
{
this
.
WriteLightbarKeyHelpErrorMsg
(
"
There is no previous search
"
,
REFRESH_MSG_AREA_CHG_LIGHTBAR_HELP_LINE
);
this
.
WriteLightbarKeyHelpErrorMsg
(
"
There is no previous search
"
,
true
);
drawMenu
=
false
;
this
.
WriteKeyHelpLine
();
}
...
...
xtrn/DDAreaChoosers/readme.txt
View file @
9a393710
Digital Distortion Area Choosers
Version 1.2
3
Release date: 2022-0
3
-1
8
Version 1.2
4
Release date: 2022-0
5
-1
7
by
...
...
xtrn/DDAreaChoosers/revision_history.txt
View file @
9a393710
...
...
@@ -5,6 +5,8 @@ Revision History (change log)
=============================
Version Date Description
------- ---- -----------
1.24 2022-05-17 Fix for searching & error reporting (probably due to a
mistaken copy & paste in a past commit)
1.23 2022-03-18 For message sub-board/file directory collapsing, if there
is only one sub-group/sub-library, then it won't be
collapsed, as that wouldn't be very useful.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment