diff -r 7f98c091be56 -r 0b6b60241230 editors/Viewer.py --- a/editors/Viewer.py Wed Dec 14 12:36:04 2016 +0300 +++ b/editors/Viewer.py Wed Dec 14 12:44:30 2016 +0300 @@ -887,6 +887,15 @@ comments.sort(lambda x, y: cmp(x.GetId(), y.GetId())) return blocks + wires + comments + def GetContinuationByName(self, name): + blocks = [] + for block in self.Blocks.itervalues(): + if isinstance(block, FBD_Connector) and\ + block.GetType() == CONTINUATION and\ + block.GetName() == name: + blocks.append(block) + return blocks + def GetConnectorByName(self, name): for block in self.Blocks.itervalues(): if isinstance(block, FBD_Connector) and\