Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
a429e28c
Commit
a429e28c
authored
Feb 18, 2011
by
Ivica Bukvic
Committed by
Hans-Christoph Steiner
Nov 02, 2011
Browse files
Pd-0.42.5-extended-l2ork-dev-20110217.tar.bz2
parent
e7e48b70
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/g_editor.c
View file @
a429e28c
...
...
@@ -348,7 +348,8 @@ void glist_noselect(t_glist *x)
glist_deselect
(
x
,
x
->
gl_editor
->
e_selection
->
sel_what
);
if
(
x
->
gl_editor
->
e_selectedline
)
glist_deselectline
(
x
);
c_selection
=
NULL
;
if
(
c_selection
==
x
)
c_selection
=
NULL
;
}
}
...
...
@@ -3210,7 +3211,10 @@ static void canvas_dopaste(t_canvas *x, t_binbuf *b)
int
dspstate
=
canvas_suspend_dsp
(),
nbox
,
count
;
canvas_editmode
(
x
,
1
.);
glist_noselect
(
x
);
if
(
x
!=
c_selection
)
glist_noselect
(
c_selection
);
else
glist_noselect
(
x
);
for
(
g2
=
x
->
gl_list
,
nbox
=
0
;
g2
;
g2
=
g2
->
g_next
)
nbox
++
;
/* found the end of the queue */
...
...
@@ -3275,7 +3279,7 @@ static void canvas_paste(t_canvas *x)
static
void
canvas_duplicate
(
t_canvas
*
x
)
{
//if (x->gl_editor->e_onmotion == MA_NONE && x->gl_editor->e_selection)
//if (x->gl_editor->e_onmotion == MA_NONE && x->gl_editor->e_selection)
if
(
x
->
gl_editor
->
e_onmotion
==
MA_NONE
&&
c_selection
&&
c_selection
->
gl_editor
->
e_selection
)
{
//canvas_copy(x);
...
...
src/m_pd.h
View file @
a429e28c
...
...
@@ -11,7 +11,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 42
#define PD_BUGFIX_VERSION 5
#define PD_TEST_VERSION "extended-l2ork-2011021
0
"
#define PD_TEST_VERSION "extended-l2ork-2011021
7
"
/* old name for "MSW" flag -- we have to take it for the sake of many old
"nmakefiles" for externs, which will define NT and not MSW */
...
...
src/pd.tk
View file @
a429e28c
...
...
@@ -2354,6 +2354,8 @@ proc pdtk_canvas_new {name width height geometry editable} {
#
after
1
[
concat
raise
$
name
]
global
pdtk_canvas_mouseup_name
set
pdtk_canvas_mouseup_name
""
bind
$
name
<
FocusIn
>
"menu_fixeditmenu $name"
}
####
jsarlo
#####
...
...
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